summaryrefslogtreecommitdiff
path: root/editors/emacs21-nox11
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu@pkgsrc.org>2011-02-08 13:20:13 +0000
committerhiramatsu <hiramatsu@pkgsrc.org>2011-02-08 13:20:13 +0000
commit4067957e3e0cfc1443a9c03d50a2c7d548d9cf98 (patch)
treed5620aecb0415e88de8c801759d08ce7070b5db0 /editors/emacs21-nox11
parentffad1a9f0d4b9ff74e958a3fe780ae49ec409444 (diff)
downloadpkgsrc-4067957e3e0cfc1443a9c03d50a2c7d548d9cf98.tar.gz
Instead of extracting version string from PKGNAME, use
${_EMACS_VERSION_MAJOR} and ${_EMACS_VERSION_MINOR} to determine installed version of emacs. Also, set minimum version of _EMACS_REQD to the same as ${_EMACS_VERSION_MAJOR}.${_EMACS_VERSION_MINOR}. Otherwise, buildlink does not work for emacs lisp libraries. Should fix PR/42763.
Diffstat (limited to 'editors/emacs21-nox11')
-rw-r--r--editors/emacs21-nox11/version.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/emacs21-nox11/version.mk b/editors/emacs21-nox11/version.mk
index b76c9cd20b6..2f1dda236a2 100644
--- a/editors/emacs21-nox11/version.mk
+++ b/editors/emacs21-nox11/version.mk
@@ -1,7 +1,7 @@
-# $NetBSD: version.mk,v 1.1 2008/10/11 09:31:56 uebayasi Exp $
+# $NetBSD: version.mk,v 1.2 2011/02/08 13:20:14 hiramatsu Exp $
_EMACS_FLAVOR= emacs
-_EMACS_REQD= emacs-nox11>=21.2<22
+_EMACS_REQD= emacs-nox11>=21.4<22
_EMACS_PKGDEP.base=
_EMACS_PKGDEP.leim= leim>=21.${EMACS_VERSION_MINOR}<22:../../editors/leim21