diff options
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 7c6806dacc1..3b036806d4e 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1304 2003/11/22 23:47:47 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1305 2003/11/23 07:31:18 jlam Exp $ # # This file is in the public domain. # @@ -637,6 +637,7 @@ PLIST_SUBST+= OPSYS=${OPSYS} \ PKGLOCALEDIR=${PKGLOCALEDIR} \ PKGVERSION=${PKGVERSION:C/nb[0-9]*$//} \ LOCALBASE=${LOCALBASE} \ + VIEWBASE=${VIEWBASE} \ X11BASE=${X11BASE} \ X11PREFIX=${X11PREFIX} \ SVR4_PKGNAME=${SVR4_PKGNAME} \ @@ -718,6 +719,7 @@ MESSAGE= ${WRKDIR}/.MESSAGE MESSAGE_SUBST+= PKGNAME=${PKGNAME} \ PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \ + VIEWBASE=${VIEWBASE} \ X11PREFIX=${X11PREFIX} \ X11BASE=${X11BASE} \ PKG_SYSCONFDIR=${PKG_SYSCONFDIR} \ @@ -4511,6 +4513,7 @@ VIEWBASE= ${LOCALBASE} .elif ${PKG_INSTALLATION_TYPE} == "overwrite" VIEWBASE= ${PREFIX} .endif +MAKE_ENV+= VIEWBASE=${VIEWBASE} PKGVIEWS+= ${DEFAULT_VIEW.${PKGBASE}} |