summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-11 09:46:51 +0000
committerjlam <jlam@pkgsrc.org>2001-11-11 09:46:51 +0000
commitca75d3b6b768c15bb63b879c26a83a5f0fb842e4 (patch)
tree4bd68513a8506da71d5f8f57aa09b621e05eb740 /mk
parent29c533f2d957b2c034b8be1eeb4fdbd608a00025 (diff)
downloadpkgsrc-ca75d3b6b768c15bb63b879c26a83a5f0fb842e4.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}).
Diffstat (limited to 'mk')
-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)