From 2e28fd0145f142d901045c2a57b8eae1fded377d Mon Sep 17 00:00:00 2001 From: grant Date: Tue, 27 May 2003 05:09:11 +0000 Subject: 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. --- textproc/sablotron/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'textproc') 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" -- cgit v1.2.3