diff options
author | bapt <bapt@FreeBSD.org> | 2013-09-05 19:33:42 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-09-05 19:33:42 +0800 |
commit | 5dc4318a1785a8a36bc8a90978662cb54ebde7fb (patch) | |
tree | 53565c633c60713ece2bc43edfcc965300b27940 /textproc | |
parent | 5c088cb86d08c638f00b1d6eee561035def5e1b4 (diff) | |
download | freebsd-ports-gnome-5dc4318a1785a8a36bc8a90978662cb54ebde7fb.tar.gz freebsd-ports-gnome-5dc4318a1785a8a36bc8a90978662cb54ebde7fb.tar.zst freebsd-ports-gnome-5dc4318a1785a8a36bc8a90978662cb54ebde7fb.zip |
Fix build without libstdc++
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/gmetadom/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/textproc/gmetadom/Makefile b/textproc/gmetadom/Makefile index 0e66d9e32343..dec2750bff7c 100644 --- a/textproc/gmetadom/Makefile +++ b/textproc/gmetadom/Makefile @@ -7,14 +7,12 @@ CATEGORIES= textproc MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org -COMMENT= A Collection of DOM Implementations +COMMENT= Collection of DOM Implementations -LIB_DEPENDS= gdome:${PORTSDIR}/textproc/gdome2 +LIB_DEPENDS= libgdome.so:${PORTSDIR}/textproc/gdome2 -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= pathfix pkgconfig +USES= pathfix pkgconfig gmake USE_GNOME= glib20 libxml2 -USE_GMAKE= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -35,6 +33,9 @@ CONFIGURE_ARGS+= HAVE_OCAMLDEP=no HAVE_OCAMLFIND=no HAVE_OCAMLOPT=no PLIST_SUB+= OCAML="@comment " .endif +post-patch: + @${REINPLACE_CMD} -e 's/-lstdc++//g' ${WRKSRC}/src/gdome_cpp_smart/Makefile.in + # Shim to clean-up a previous bad install - this can be removed # PORTVERSION > 0.2.6 along with the associated pkg-plist @exec # entries. |