summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authortv <tv>1998-08-11 19:29:26 +0000
committertv <tv>1998-08-11 19:29:26 +0000
commit53f37e4d02919bd7775fc960c1999d2b1452882b (patch)
treed50dcf104b17a1be67092776a7b3a53c209c7217 /pkgtools
parent87ba28d33cdfb2d3180fa43ccb7227e47381a25b (diff)
downloadpkgsrc-53f37e4d02919bd7775fc960c1999d2b1452882b.tar.gz
Set ${PREFIX} after inclusion of bsd.pkg.mk; don't depend on bsd.pkg.mk to
conditionally set PREFIX.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/xpkgwedge/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/xpkgwedge/Makefile b/pkgtools/xpkgwedge/Makefile
index 9b4fa7e4277..ac75c978422 100644
--- a/pkgtools/xpkgwedge/Makefile
+++ b/pkgtools/xpkgwedge/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1998/08/09 23:16:18 tron Exp $
+# $NetBSD: Makefile,v 1.8 1998/08/11 19:29:26 tv Exp $
#
DISTNAME= xpkgwedge-0.4
@@ -11,10 +11,6 @@ NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_IMAKE= yes
-# In order to force xpkgwedge to install into X11BASE, we forcibly set PREFIX
-# here. No other pkg should do this.
-PREFIX=${X11BASE}
-
pre-extract:
@if [ ! -f ${X11BASE}/include/X11/X.h ]; then \
${ECHO} 'xpkgwedge requires $$X11BASE to point to the real X distribution.'; \
@@ -35,6 +31,10 @@ pre-clean:
.include "../../mk/bsd.pkg.mk"
+# In order to force xpkgwedge to install into X11BASE, we forcibly override
+# any user setting of USE_LOCALBASE_FOR_X11. _NO_ other pkg should do this.
+PREFIX=${X11BASE}
+
# Clear the build dependencies list so that xpkgwedge will not be recursively
# dependent on itself.
BUILD_DEPENDS=