summaryrefslogtreecommitdiff
path: root/editors/emacs21
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu>2011-02-08 13:20:13 +0000
committerhiramatsu <hiramatsu>2011-02-08 13:20:13 +0000
commit3a872b5e2da58e00c102df0b8399a26583c4799c (patch)
treed5620aecb0415e88de8c801759d08ce7070b5db0 /editors/emacs21
parent0f2aedb37b396ba7303ef21d9d739b2f191c072e (diff)
downloadpkgsrc-3a872b5e2da58e00c102df0b8399a26583c4799c.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')
-rw-r--r--editors/emacs21/version.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/emacs21/version.mk b/editors/emacs21/version.mk
index 5ffee21196e..02e363d2a12 100644
--- a/editors/emacs21/version.mk
+++ b/editors/emacs21/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>=21<22
+_EMACS_REQD= emacs>=21.4<22
_EMACS_PKGDEP.base=
_EMACS_PKGDEP.leim= leim>=21.${EMACS_VERSION_MINOR}<22:../../editors/leim21