diff options
-rw-r--r-- | mk/bsd.pkg.mk | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index d4fe75e766d..308371cc4b3 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.350 1999/10/04 17:13:02 tron Exp $ +# $NetBSD: bsd.pkg.mk,v 1.351 1999/10/05 15:48:26 jlam Exp $ # # This file is in the public domain. # @@ -75,12 +75,16 @@ 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} |