summaryrefslogtreecommitdiff
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
commit704f0f9e049988f66c75e954876fe8ab5e3e087d (patch)
treece5cdb52219c8ac04672e58715bec74bb7734e05
parentcf6a8daabe51e76d364e0d037cbdc6bf74b14998 (diff)
downloadpkgsrc-704f0f9e049988f66c75e954876fe8ab5e3e087d.tar.gz
If xpkgwedge is installed, then _always_ add it to BUILD_DEPENDS. Also
comment the section that sets the PREFIX.
-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])