summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjnemeth <jnemeth>2007-02-19 09:20:59 +0000
committerjnemeth <jnemeth>2007-02-19 09:20:59 +0000
commit126027452906665d9720bf43b53a7172bfebaf97 (patch)
tree98f32427b2ef00018af47a28ef7cba05e41f2141
parentcbae04cb7f3ce881ba4f78b1ea81b6cc8da4de66 (diff)
downloadpkgsrc-126027452906665d9720bf43b53a7172bfebaf97.tar.gz
Fix _EMACS_VERSION_NOREV. Thanks to dsl@ for spotting the missing ".".
-rw-r--r--mk/emacs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/emacs.mk b/mk/emacs.mk
index 7984290d84e..d144f6a3b94 100644
--- a/mk/emacs.mk
+++ b/mk/emacs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: emacs.mk,v 1.29 2007/02/11 11:38:43 jnemeth Exp $
+# $NetBSD: emacs.mk,v 1.30 2007/02/19 09:20:59 jnemeth Exp $
#
# This Makefile fragment handles Emacs Lisp Packages (== ELPs).
#
@@ -258,7 +258,7 @@ _EMACS_VERSION_FULL= ${_EMACS_VERSION_CMD}
_EMACS_VERSION= ${_EMACS_VERSION_FULL:C/^${_EMACS_PKGBASE}-//}
_EMACS_VERSION_MAJOR= ${_EMACS_VERSION:C/\..*//}
_EMACS_VERSION_MINOR= ${_EMACS_VERSION:C/^[0-9]*\.//:C/[^0-9].*//}
-_EMACS_VERSION_NOREV= ${_EMACS_VERSION:C/[a-z]*$//}
+_EMACS_VERSION_NOREV= ${_EMACS_VERSION:C/[a-z].*$//}
_EMACS_VERSION_ISMATCH!= \
dep="${_EMACS_REQD.${_EMACS_TYPE}:Q}"; \
${PKG_ADMIN} pmatch "$$dep" "${_EMACS_PKGBASE}"; \