freebsd-ports/databases/glom/Makefile
Tijl Coosemans a374acb969 By default libtool replaces -export-symbols <file> with -retain-symbols-file
<file> on ELF systems, but this doesn't really do what -export-symbols is
meant to do.  On GNU ELF systems it converts <file> to a simple version
script first and then uses -version-script instead of -retain-symbols-file.
Let USES=libtool patch libtool scripts to do this on all systems with GNU
ld(1).

Bump PORTREVISION on all ports where the build log contains -export-symbols.

audio/calf: This port builds a module that now exports only one function,
but it also builds a number of executables that link to this module and
expect to see other functions.  Because it's already a bit dodgy to link to
a module (libtool warns about this) let the module continue to export only
one function and instead build an ordinary library from the same source that
the executables can link to.  Fix a number of other issues in the same
Makefile.am and clean up the port Makefile.

japanese/scim-honoka: Tries to hide all symbols that start with an
underscore, but because this library is written in C++ all symbols start
with _Z so it ends up hiding everything.  Just don't hide anything at all
like the textproc/scim configure script does.

multimedia/schroedinger: Apply an upstream patch.

textproc/scim-input-pad: Same as japanese/scim-honoka.

PR:		201922
Approved by:	portmgr (antoine)
Exp-run by:	antoine
2015-08-02 15:03:19 +00:00

57 lines
2 KiB
Makefile

# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= glom
PORTVERSION= 1.28.0
PORTREVISION= 1
CATEGORIES= databases gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= kwm@FreeBSD.org
COMMENT= GNOME database designer and user interface
BUILD_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \
itstool:${PORTSDIR}/textproc/itstool \
libepc>=0.4.0:${PORTSDIR}/www/libepc \
libgda5-mysql>=0:${PORTSDIR}/databases/libgda5-mysql \
libgda5-postgresql>=0:${PORTSDIR}/databases/libgda5-postgresql
LIB_DEPENDS= libboost_python.so:${PORTSDIR}/devel/boost-python-libs \
libepc-1.0.so:${PORTSDIR}/www/libepc \
libgoocanvasmm-2.0.so:${PORTSDIR}/graphics/goocanvasmm2 \
libevview3.so:${PORTSDIR}/graphics/evince
RUN_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \
libgda5-mysql>=0:${PORTSDIR}/databases/libgda5-mysql \
libgda5-postgresql>=0:${PORTSDIR}/databases/libgda5-postgresql
GNU_CONFIGURE= yes
USES= desktop-file-utils gettext gmake libarchive libtool pathfix \
pgsql pkgconfig python shared-mime-info tar:xz
WANT_PGSQL= server
USE_GNOME= gnomedocutils gnomeprefix intlhack pygobject3 libxml2 \
gtksourceviewmm3 libgdamm5
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --with-postgres-utils=${LOCALBASE}/bin \
--disable-documentation
INSTALLS_ICONS= yes
.include <bsd.port.options.mk>
#PLIST_SUB+= VERSION=${PORTVERSION:R}
PLIST_SUB+= VERSION=1.26
post-patch:
@${REINPLACE_CMD} -e 's|-update-mime-database|true|g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|std::locale("")|std::locale()|g' \
${WRKSRC}/glom/libglom/data_structure/glomconversions.cc \
${WRKSRC}/glom/libglom/data_structure/glomconversions.h \
${WRKSRC}/glom/libglom/utils.cc \
${WRKSRC}/glom/mode_design/layout/layout_item_dialogs/comboentry_borderwidth.cc \
${WRKSRC}/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc \
${WRKSRC}/glom/main.cc
.include <bsd.port.mk>