summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>1999-10-07 16:04:57 +0000
committerjlam <jlam@pkgsrc.org>1999-10-07 16:04:57 +0000
commit39d24f27fe61aa2c2d112daa70a833130e26b10d (patch)
tree7e07f12480448b14099ac48539d4a32c350a1314 /mk
parent57673e7a9fccfca6494be9bbd87198fea66e7b43 (diff)
downloadpkgsrc-39d24f27fe61aa2c2d112daa70a833130e26b10d.tar.gz
Back out revision 1.351 which added XPKGBASE. This seems to be an issue of
some contention, so better leave changes for till after all the dust settles.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk12
1 files changed, 4 insertions, 8 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index b9e9739d2c8..c800bb25938 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.352 1999/10/05 22:18:05 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.353 1999/10/07 16:04:57 jlam Exp $
#
# This file is in the public domain.
#
@@ -75,16 +75,12 @@ SCRIPTDIR?= ${.CURDIR}/scripts
FILESDIR?= ${.CURDIR}/files
PKGDIR?= ${.CURDIR}/pkg
-.if defined(USE_LOCALBASE_FOR_X11)
-XPKGBASE= ${LOCALBASE}
-.else
-XPKGBASE= ${X11BASE}
-.endif
-
.if defined(USE_IMAKE) || defined(USE_MOTIF) || defined(USE_X11BASE)
-PREFIX= ${XPKGBASE}
.if defined(USE_LOCALBASE_FOR_X11)
+PREFIX= ${LOCALBASE}
BUILD_DEPENDS+= ${X11BASE}/lib/X11/config/xpkgwedge.def:${PKGSRCDIR}/pkgtools/xpkgwedge
+.else
+PREFIX= ${X11BASE}
.endif
.elif defined(USE_CROSSBASE)
PREFIX= ${CROSSBASE}