svn commit: r326386 - head/textproc/gmetadom
Baptiste Daroussin
bapt at FreeBSD.org
Thu Sep 5 11:33:43 UTC 2013
Author: bapt
Date: Thu Sep 5 11:33:42 2013
New Revision: 326386
URL: http://svnweb.freebsd.org/changeset/ports/326386
Log:
Fix build without libstdc++
Modified:
head/textproc/gmetadom/Makefile
Modified: head/textproc/gmetadom/Makefile
==============================================================================
--- head/textproc/gmetadom/Makefile Thu Sep 5 11:20:10 2013 (r326385)
+++ head/textproc/gmetadom/Makefile Thu Sep 5 11:33:42 2013 (r326386)
@@ -7,14 +7,12 @@ CATEGORIES= textproc
MASTER_SITES= SF
MAINTAINER= ports at 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_O
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.
More information about the svn-ports-head
mailing list