pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Make the value of VIEWBASE available in more settings.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/159a02c895f7
branches:  trunk
changeset: 463663:159a02c895f7
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Nov 23 07:31:18 2003 +0000

description:
Make the value of VIEWBASE available in more settings.

diffstat:

 mk/bsd.pkg.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 444be981f557 -r 159a02c895f7 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sun Nov 23 07:22:10 2003 +0000
+++ b/mk/bsd.pkg.mk     Sun Nov 23 07:31:18 2003 +0000
@@ -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 @@
                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_SUBST+=        PKGNAME=${PKGNAME}                                      \
                PREFIX=${PREFIX}                                        \
                LOCALBASE=${LOCALBASE}                                  \
+               VIEWBASE=${VIEWBASE}                                    \
                X11PREFIX=${X11PREFIX}                                  \
                X11BASE=${X11BASE}                                      \
                PKG_SYSCONFDIR=${PKG_SYSCONFDIR}                        \
@@ -4511,6 +4513,7 @@
 .elif ${PKG_INSTALLATION_TYPE} == "overwrite"
 VIEWBASE=      ${PREFIX}
 .endif
+MAKE_ENV+=     VIEWBASE=${VIEWBASE}
 
 PKGVIEWS+=     ${DEFAULT_VIEW.${PKGBASE}}
 



Home | Main Index | Thread Index | Old Index