aboutsummaryrefslogtreecommitdiff
path: root/textproc/gmetadom
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-05 11:33:42 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-05 11:33:42 +0000
commita1854efc0605ec686d779d0e4f23b7e5f0d18602 (patch)
tree53565c633c60713ece2bc43edfcc965300b27940 /textproc/gmetadom
parent5c716a530cff33caa4edde70c707033d24c4e561 (diff)
downloadports-a1854efc0605ec686d779d0e4f23b7e5f0d18602.tar.gz
ports-a1854efc0605ec686d779d0e4f23b7e5f0d18602.zip
Fix build without libstdc++
Notes
Notes: svn path=/head/; revision=326386
Diffstat (limited to 'textproc/gmetadom')
-rw-r--r--textproc/gmetadom/Makefile11
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.