diff options
author | markd <markd@pkgsrc.org> | 2007-06-20 11:40:22 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2007-06-20 11:40:22 +0000 |
commit | 0efad1146fcc58cbdfe866bd4c568762a19b6d32 (patch) | |
tree | 5470626436068884f0797fc6e981b27bda545767 /mk/emacs.mk | |
parent | 6c2d54e476360860f32b460dcf7a711c2f014c78 (diff) | |
download | pkgsrc-0efad1146fcc58cbdfe866bd4c568762a19b6d32.tar.gz |
EMACS_ETCPREFIX is documented as being substituted in PLIST's.
Make it so.
Diffstat (limited to 'mk/emacs.mk')
-rw-r--r-- | mk/emacs.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/emacs.mk b/mk/emacs.mk index fb4f382786d..73657187f09 100644 --- a/mk/emacs.mk +++ b/mk/emacs.mk @@ -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+= FOR_${e}="@comment " NOTFOR_${e}="" 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}/||} |