diff options
author | grant <grant@pkgsrc.org> | 2003-05-27 05:09:11 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-05-27 05:09:11 +0000 |
commit | 2e9d4ab4645201b8acf113aee2c77350cfa7261a (patch) | |
tree | 5fcb9ad0d0408775d45d53b9caede60d14b71b79 | |
parent | 37adc92fb5e9258ac1b32ae1c1966037cce8fdfa (diff) | |
download | pkgsrc-2e9d4ab4645201b8acf113aee2c77350cfa7261a.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.
-rw-r--r-- | textproc/sablotron/Makefile | 12 |
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" |