summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-06 09:24:14 +0000
committerjlam <jlam@pkgsrc.org>2004-01-06 09:24:14 +0000
commit28ce673b4c7d55613f7e7250d764a75b2f6d581f (patch)
treece5cdb52219c8ac04672e58715bec74bb7734e05 /mk
parent300a12c550e26b8562a9da5eb1247c9df41601dd (diff)
downloadpkgsrc-28ce673b4c7d55613f7e7250d764a75b2f6d581f.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])