diff options
author | minskim <minskim> | 2009-09-07 06:51:19 +0000 |
---|---|---|
committer | minskim <minskim> | 2009-09-07 06:51:19 +0000 |
commit | 676f177b57208bc50e862f57cc450ef989d948cf (patch) | |
tree | 28a8a33f9b06af9b3d87ffb969bfd9baa7fc77b9 /editors | |
parent | 8f1e04da0a4d856de011548959efbf25663f4858 (diff) | |
download | pkgsrc-676f177b57208bc50e862f57cc450ef989d948cf.tar.gz |
Strip PKGREVISION from the emacs version string for a directory name.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs/modules.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/emacs/modules.mk b/editors/emacs/modules.mk index 2f1cb889ac3..d5b5b45cb92 100644 --- a/editors/emacs/modules.mk +++ b/editors/emacs/modules.mk @@ -1,4 +1,4 @@ -# $NetBSD: modules.mk,v 1.11 2009/08/23 18:14:38 minskim Exp $ +# $NetBSD: modules.mk,v 1.12 2009/09/07 06:51:19 minskim Exp $ # # This Makefile fragment handles Emacs Lisp Packages (== ELPs). # @@ -341,7 +341,8 @@ _EMACS_DIR= ${BUILDLINK_DIR}/share/emacs _EMACS_VERSION_DIR!= \ (${PKG_INFO} -e emacs || ${ECHO} "") | \ ${SED} -e 's/emacs-//' | \ - ${SED} -e 's/\.[0-9]\{8,\}//' + ${SED} -e 's/\.[0-9]\{8,\}//' | \ + ${SED} -e 's/nb.*//' ALL_ENV+= EMACSLOADPATH=${_EMACS_DIR}/${_EMACS_VERSION_DIR}/lisp:${_EMACS_DIR}/site-lisp .include "${_EMACS_PKGDIR}/buildlink3.mk" .endif |