pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Add PKGBASE to MESSAGE_SUBST for substituting varia...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4df4510315d2
branches:  trunk
changeset: 493482:4df4510315d2
user:      reed <reed%pkgsrc.org@localhost>
date:      Sat May 07 19:32:56 2005 +0000

description:
Add PKGBASE to MESSAGE_SUBST for substituting variables in MESSAGEs.

Noticed it was used in multimedia/xine-ui/MESSAGE.NetBSD.

Maybe this is redundant, and in that case, could have just hard-coded
"xine-ui" instead.

diffstat:

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

diffs (17 lines):

diff -r a505bdceb161 -r 4df4510315d2 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sat May 07 19:30:28 2005 +0000
+++ b/mk/bsd.pkg.mk     Sat May 07 19:32:56 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1627 2005/05/04 06:42:43 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1628 2005/05/07 19:32:56 reed Exp $
 #
 # This file is in the public domain.
 #
@@ -698,6 +698,7 @@
 
 # Set MESSAGE_SUBST to substitute "${variable}" to "value" in MESSAGE
 MESSAGE_SUBST+=        PKGNAME=${PKGNAME}                                      \
+               PKGBASE=${PKGBASE}                                      \
                PREFIX=${PREFIX}                                        \
                LOCALBASE=${LOCALBASE}                                  \
                VIEWBASE=${VIEWBASE}                                    \



Home | Main Index | Thread Index | Old Index