diff options
Diffstat (limited to 'mk/emacs.mk')
-rw-r--r-- | mk/emacs.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/emacs.mk b/mk/emacs.mk index 3b8e50445ae..8010df14c60 100644 --- a/mk/emacs.mk +++ b/mk/emacs.mk @@ -1,4 +1,4 @@ -# $NetBSD: emacs.mk,v 1.48 2008/01/18 13:50:44 obache Exp $ +# $NetBSD: emacs.mk,v 1.49 2008/03/01 05:11:10 obache Exp $ # # This Makefile fragment handles Emacs Lisp Packages (== ELPs). # @@ -360,6 +360,10 @@ PLIST_SUBST+= EMACS_ETCPREFIX=${EMACS_ETCPREFIX:C|^${PREFIX}/||} PLIST_SUBST+= EMACS_INFOPREFIX=${EMACS_INFOPREFIX:C|^${PREFIX}/||} PLIST_SUBST+= EMACS_LISPPREFIX=${EMACS_LISPPREFIX:C|^${PREFIX}/||} +PRINT_PLIST_AWK+= { gsub(/${EMACS_LISPPREFIX:S|${PREFIX}/||:S|/|\\/|g}/, \ + "$${EMACS_LISPPREFIX}"); \ + print; next; } + # # ELP dependencies # |