summaryrefslogtreecommitdiff
path: root/www/apache6
diff options
context:
space:
mode:
authorjlam <jlam>2003-03-14 19:37:30 +0000
committerjlam <jlam>2003-03-14 19:37:30 +0000
commita771eb7968c94f0addf4db20c476555536382e51 (patch)
tree4ee2e06249d68477cf3fb68be1f095453bcec90d /www/apache6
parentf11a46ae0626751873aec65de2e0341f70f610e7 (diff)
downloadpkgsrc-a771eb7968c94f0addf4db20c476555536382e51.tar.gz
(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for worse. (2) Create a new variable FIX_RPATH that lists variables that should be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and additional variables may be appended from package Makefiles.
Diffstat (limited to 'www/apache6')
-rw-r--r--www/apache6/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache6/Makefile b/www/apache6/Makefile
index 17086d83bdb..37ccbd8feb2 100644
--- a/www/apache6/Makefile
+++ b/www/apache6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2003/02/23 15:55:58 jmmv Exp $
+# $NetBSD: Makefile,v 1.69 2003/03/14 19:38:00 jlam Exp $
#
# This package does not compile in mod_ssl support hooks, as it conflicts
# with IPv6-enable patch.
@@ -123,7 +123,7 @@ CONFIGURE_ENV+= INCLUDES="-I${BUILDLINK_PREFIX.db}/include/db2"
# on Solaris, we also need libdbm
. if ${OPSYS} == "SunOS"
CONFIGURE_ENV+= LIBS="-ldbm -ldb2"
-LDFLAGS+= -Wl,-R/usr/ucblib -L/usr/ucblib
+LDFLAGS+= -Wl,${RPATH_FLAG}/usr/ucblib -L/usr/ucblib
. else
CONFIGURE_ENV+= LIBS="-ldb2"
. endif