pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk EMACS_ETCPREFIX is documented as being substituted ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ef192e26713
branches:  trunk
changeset: 530257:9ef192e26713
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Jun 20 11:40:22 2007 +0000

description:
EMACS_ETCPREFIX is documented as being substituted in PLIST's.
Make it so.

diffstat:

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

diffs (17 lines):

diff -r 1d74bf6283b2 -r 9ef192e26713 mk/emacs.mk
--- a/mk/emacs.mk       Wed Jun 20 06:24:11 2007 +0000
+++ b/mk/emacs.mk       Wed Jun 20 11:40:22 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: emacs.mk,v 1.36 2007/06/11 14:01:58 markd Exp $
+# $NetBSD: emacs.mk,v 1.37 2007/06/20 11:40:22 markd Exp $
 #
 # This Makefile fragment handles Emacs Lisp Packages (== ELPs).
 #
@@ -318,6 +318,7 @@
 
 PLIST_SUBST+=  EMACS_FLAVOR=${EMACS_FLAVOR:Q}
 PLIST_SUBST+=  EMACS_VERSION=${_EMACS_VERSION_NOREV:Q}
+PLIST_SUBST+=  EMACS_ETCPREFIX=${EMACS_ETCPREFIX:C|^${PREFIX}/||}
 PLIST_SUBST+=  EMACS_INFOPREFIX=${EMACS_INFOPREFIX:C|^${PREFIX}/||}
 PLIST_SUBST+=  EMACS_LISPPREFIX=${EMACS_LISPPREFIX:C|^${PREFIX}/||}
 



Home | Main Index | Thread Index | Old Index