summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 45b8e28396f..cfc4c32bf65 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.816 2001/09/30 22:10:34 abs Exp $
+# $NetBSD: bsd.pkg.mk,v 1.817 2001/10/01 17:14:40 jlam Exp $
#
# This file is in the public domain.
#
@@ -308,9 +308,9 @@ DISTINFO_FILE?= ${.CURDIR}/distinfo
M4?= /usr/bin/m4
.endif
-.if defined(USE_X11BASE) || defined(USE_X11)
+.if !defined(X11_BUILDLINK_MK)
+. if defined(USE_X11BASE) || defined(USE_X11)
LDFLAGS+= -Wl,-R${X11BASE}/lib
-. if !defined(X11_BUILDLINK_MK)
LDFLAGS+= -L${X11BASE}/lib
. endif
.endif