summaryrefslogtreecommitdiff
path: root/www/ap-auth-mysql
diff options
context:
space:
mode:
authorjlam <jlam>2004-08-27 06:29:06 +0000
committerjlam <jlam>2004-08-27 06:29:06 +0000
commit64c83961643743b2423afc56e568e2cb05963660 (patch)
tree0ff3b0eccc04d1b065efd866b0590608098961d5 /www/ap-auth-mysql
parentb1d52ddb282f29c948118e6048aa57331cc442c0 (diff)
downloadpkgsrc-64c83961643743b2423afc56e568e2cb05963660.tar.gz
Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
Diffstat (limited to 'www/ap-auth-mysql')
-rw-r--r--www/ap-auth-mysql/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/ap-auth-mysql/Makefile b/www/ap-auth-mysql/Makefile
index 07b9087e432..f97014eff28 100644
--- a/www/ap-auth-mysql/Makefile
+++ b/www/ap-auth-mysql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/07/17 16:58:19 jdolecek Exp $
+# $NetBSD: Makefile,v 1.5 2004/08/27 06:29:11 jlam Exp $
#
DISTNAME= libapache-mod-auth-mysql_4.3.1
@@ -19,7 +19,7 @@ CONFIGURE_ARGS+= --with-mysql-includes=${BUILDLINK_PREFIX.mysql-client}/include/
CPPFLAGS+= -I${BUILDLINK_PREFIX.mysql-client}/include/mysql
LDFLAGS+= -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql \
-lmysqlclient \
- -Wl,${RPATH_FLAG}${PREFIX}/lib/mysql
+ ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mysql
APACHE_MODULE= YES
APACHE_MODULE_NAME= mod_auth_mysql.so