summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-11 09:46:51 +0000
committerjlam <jlam>2001-11-11 09:46:51 +0000
commit025d7a11163e660186d909a4a164c2fa65642f25 (patch)
tree4bd68513a8506da71d5f8f57aa09b621e05eb740
parent3f4087662ef5f17f794e3178bf636445e54b2d8c (diff)
downloadpkgsrc-025d7a11163e660186d909a4a164c2fa65642f25.tar.gz
Set a default value for BUILDLINK_DIR so that if no buildlink.mk files are
included, then it still points to a sensible location (${LOCALBASE}).
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 1c70aa6416d..3a07a6ab287 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.845 2001/11/09 08:58:19 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.846 2001/11/11 09:46:51 jlam Exp $
#
# This file is in the public domain.
#
@@ -125,9 +125,11 @@ X11PREFIX= ${X11BASE}
XMKMF_CMD?= ${X11PREFIX}/bin/xmkmf
.endif
-# Set the default BUILDLINK_X11_DIR to ${X11BASE} so that in the absence
-# of x11.buildlink.mk, it still points to a working X11R6 hierarchy.
+# Set the default BUILDLINK_DIR and BUILDLINK_X11_DIR so that if no
+# buildlink.mk files are included, then they still points to a where headers
+# and libraries for installed packages and X11R6 may be found, respectively.
#
+BUILDLINK_DIR?= ${LOCALBASE}
BUILDLINK_X11_DIR?= ${X11BASE}
.if defined(USE_IMAKE) || defined(USE_X11BASE)