summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
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])