summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorseb <seb>2003-03-03 19:41:27 +0000
committerseb <seb>2003-03-03 19:41:27 +0000
commit74c73fe5f899ac7d1b0da7b5ed80399efedf3244 (patch)
tree74b51254f8ceeb202951a8f2a31cfd371fd89da1 /mk
parent703b76540b825e22ef1738ccc633bf5e783349f4 (diff)
downloadpkgsrc-74c73fe5f899ac7d1b0da7b5ed80399efedf3244.tar.gz
We want to remove '-Wl,-R' and '-rpath' when USE_BUILDLINK2 is "no"
not the opposite: this was a little mistake introduced in revision 1.1086. (hopping nothing will be broken by this change...)
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 2935737fa4e..6cb7c976d0c 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1148 2003/02/28 03:41:39 jschauma Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1149 2003/03/03 19:41:27 seb Exp $
#
# This file is in the public domain.
#
@@ -284,7 +284,7 @@ LDFLAGS+= ${X11_LDFLAGS}
.if ${_USE_RPATH} == "yes"
LDFLAGS+= -Wl,${_OPSYS_RPATH_NAME}${LOCALBASE}/lib
.else
-. if empty(USE_BUILDLINK2:M[nN][oO])
+. if !empty(USE_BUILDLINK2:M[nN][oO])
LDFLAGS:= ${LDFLAGS:N*-Wl,-R*:N*-rpath*}
. endif
.endif