summaryrefslogtreecommitdiff
path: root/mail/qmail
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 /mail/qmail
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 'mail/qmail')
-rw-r--r--mail/qmail/options.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/qmail/options.mk b/mail/qmail/options.mk
index 373dbf4e4d8..42eda8e297b 100644
--- a/mail/qmail/options.mk
+++ b/mail/qmail/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2004/08/23 23:22:29 schmonz Exp $
+# $NetBSD: options.mk,v 1.4 2004/08/27 06:29:08 jlam Exp $
.if ${OPSYS} == "Darwin"
PKG_DEFAULT_OPTIONS+= darwin
@@ -130,7 +130,7 @@ PLIST_SRC+= ${PKGDIR}/PLIST.tls
SUBST_CLASSES+= load
SUBST_STAGE.load= do-configure
SUBST_FILES.load= make-load.sh
-SUBST_SED.load= -e '$$s|$$| -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.syncdir}/lib -L${BUILDLINK_PREFIX.syncdir}/lib \-lsyncdir|'
+SUBST_SED.load= -e '$$s|$$| ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.syncdir}/lib -L${BUILDLINK_PREFIX.syncdir}/lib \-lsyncdir|'
. if ${OPSYS} == "Darwin"
SUBST_SED.load+= -e '$$s|$$| -bind_at_load|'
. endif