aboutsummaryrefslogtreecommitdiff
path: root/textproc/gmetadom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/gmetadom/Makefile')
-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.