summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-06 09:24:14 +0000
committerjlam <jlam>2004-01-06 09:24:14 +0000
commit538f66cc2929110ab758bdc883695e7ab03995e2 (patch)
treece5cdb52219c8ac04672e58715bec74bb7734e05 /mk
parentf8e70c525b0863623d82fda3bb550696482a18ea (diff)
downloadpkgsrc-538f66cc2929110ab758bdc883695e7ab03995e2.tar.gz
If xpkgwedge is installed, then _always_ add it to BUILD_DEPENDS. Also
comment the section that sets the PREFIX.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 3e58c6a59ef..de8c07f85b1 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1334 2004/01/05 07:15:39 grant Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1335 2004/01/06 09:24:14 jlam Exp $
#
# This file is in the public domain.
#
@@ -174,11 +174,12 @@ USE_X11?= implied
#
.if exists(${LOCALBASE}/lib/X11/config/xpkgwedge.def) || \
exists(${X11BASE}/lib/X11/config/xpkgwedge.def)
-_OPSYS_NEEDS_XPKGWEDGE?= yes
+_OPSYS_NEEDS_XPKGWEDGE= yes
.else
_OPSYS_NEEDS_XPKGWEDGE?= no
.endif
+# Set the PREFIX appropriately.
.if ${PKG_INSTALLATION_TYPE} == "overwrite"
. if defined(USE_X11BASE)
. if !empty(_OPSYS_NEEDS_XPKGWEDGE:M[yY][eE][sS])