summaryrefslogtreecommitdiff
path: root/textproc/sablotron/Makefile
diff options
context:
space:
mode:
authorgrant <grant>2003-05-27 05:09:11 +0000
committergrant <grant>2003-05-27 05:09:11 +0000
commit2e28fd0145f142d901045c2a57b8eae1fded377d (patch)
tree5fcb9ad0d0408775d45d53b9caede60d14b71b79 /textproc/sablotron/Makefile
parentdf4ab95c45416743b00c4c529f8e782f2271c841 (diff)
downloadpkgsrc-2e28fd0145f142d901045c2a57b8eae1fded377d.tar.gz
this uses c++, so set USE_CXX and include gcc/buildlink2.mk.
add LIBTOOL_OVERRIDE, libiconv, libstdc++, libm to give this a hope of working on NetBSD and Solaris. bump PKGREVISION.
Diffstat (limited to 'textproc/sablotron/Makefile')
-rw-r--r--textproc/sablotron/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/textproc/sablotron/Makefile b/textproc/sablotron/Makefile
index a453602039f..3505b4e2657 100644
--- a/textproc/sablotron/Makefile
+++ b/textproc/sablotron/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2002/09/25 23:17:26 jwise Exp $
+# $NetBSD: Makefile,v 1.9 2003/05/27 05:09:11 grant Exp $
DISTNAME= Sablot-0.96
PKGNAME= sablotron-0.96
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://download-2.gingerall.cz/download/sablot/
@@ -10,11 +11,20 @@ HOMEPAGE= http://www.gingerall.com/charlie/ga/xml/p_sab.xml
COMMENT= XML toolkit implementing XSLT, DOM, and XPath
USE_BUILDLINK2= YES
+USE_CXX= YES
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+LDFLAGS+= -liconv
+
+# this is required for gcc 2.95.x, where libstdc++ doesn't include the
+# math functions. only libstdc++ is required for gcc 3.3.
+LDFLAGS+= -lstdc++ -lm
+
.include "../../converters/libiconv/buildlink2.mk"
+.include "../../lang/gcc/buildlink2.mk"
.include "../../textproc/expat/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"