summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-05-29 23:14:07 +0000
committergrant <grant@pkgsrc.org>2003-05-29 23:14:07 +0000
commit712c21283a3273130919635485aa657bfcf2df4a (patch)
tree2ab39a00d70ddd1fe87ded8ec8941560f6ff8dee /www
parent392ba6fb3d2d351009bec6eaba0af88df7641d33 (diff)
downloadpkgsrc-712c21283a3273130919635485aa657bfcf2df4a.tar.gz
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.
Diffstat (limited to 'www')
-rw-r--r--www/ap-xslt/Makefile5
-rw-r--r--www/mozilla/Makefile4
2 files changed, 4 insertions, 5 deletions
diff --git a/www/ap-xslt/Makefile b/www/ap-xslt/Makefile
index 1164174b21c..bb2f2ba162f 100644
--- a/www/ap-xslt/Makefile
+++ b/www/ap-xslt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2003/05/27 08:30:44 grant Exp $
+# $NetBSD: Makefile,v 1.19 2003/05/29 23:14:11 grant Exp $
DISTNAME= modxslt-1.1
PKGNAME= ap-xslt-1.1
@@ -12,7 +12,7 @@ HOMEPAGE= http://modxslt.sourceforge.net/
COMMENT= Simple, fast XSLT transformations for apache
USE_BUILDLINK2= YES
-USE_CXX= YES
+USE_GCC_SHLIB= YES
APACHE_MODULE_NAME= mod_xslt.so
LDFLAGS+= -lsablot -liconv -lstdc++ -lm
@@ -21,5 +21,4 @@ LDFLAGS+= -lsablot -liconv -lstdc++ -lm
.include "../../www/libwww/buildlink2.mk"
.include "../../www/apache/module.mk"
-.include "../../mk/gcc.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index aa0aa4d1acf..0cafb8afebc 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.119 2003/05/22 23:41:48 taya Exp $
+# $NetBSD: Makefile,v 1.120 2003/05/29 23:14:11 grant Exp $
MOZILLA= mozilla
MOZILLA_BIN= mozilla-bin
@@ -7,7 +7,7 @@ EXTRACT_SUFX= .tar.bz2
COMMENT= Full featured gecko-based browser
-USE_CXX= yes
+USE_GCC_SHLIB= yes
BUILD_SVG= # defined
BUILD_CALENDAR= # defined