pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/emacs Strip PKGREVISION from the emacs version...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c630ab8f675
branches:  trunk
changeset: 398705:6c630ab8f675
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Sep 07 06:51:19 2009 +0000

description:
Strip PKGREVISION from the emacs version string for a directory name.

diffstat:

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

diffs (19 lines):

diff -r 2e164ed73433 -r 6c630ab8f675 editors/emacs/modules.mk
--- a/editors/emacs/modules.mk  Mon Sep 07 04:08:54 2009 +0000
+++ b/editors/emacs/modules.mk  Mon Sep 07 06:51:19 2009 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index