Make the value of VIEWBASE available in more settings.
This commit is contained in:
parent
f4cfbd40fe
commit
b0727d41d2
1 changed files with 4 additions and 1 deletions
|
@ -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}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue