From ee816425f3e1744278d353bbbcff42611f8f20b3 Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 29 May 2003 23:14:07 +0000 Subject: s/USE_CXX/USE_GCC_SHLIB/ - there are more shared libraries than just libstdc++ in gcc3. when defined, USE_GCC_SHLIB ensures that the correct rpath is passed to the linker, and a full dependency on the compiler package is registered. packages which define USE_GCC_SHLIB should not include mk/gcc.buildlink2.mk (or gcc{,3}/buildlink2.mk) as it is handled automatically. --- textproc/sablotron/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'textproc') diff --git a/textproc/sablotron/Makefile b/textproc/sablotron/Makefile index cee54d3a1f9..3aa2f471abd 100644 --- a/textproc/sablotron/Makefile +++ b/textproc/sablotron/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2003/05/27 08:30:24 grant Exp $ +# $NetBSD: Makefile,v 1.11 2003/05/29 23:14:10 grant Exp $ DISTNAME= Sablot-0.96 PKGNAME= sablotron-0.96 @@ -11,7 +11,7 @@ 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 +USE_GCC_SHLIB= YES GNU_CONFIGURE= YES USE_GMAKE= YES USE_LIBTOOL= YES @@ -26,5 +26,4 @@ LDFLAGS+= -lstdc++ -lm .include "../../converters/libiconv/buildlink2.mk" .include "../../textproc/expat/buildlink2.mk" -.include "../../mk/gcc.buildlink2.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3