summaryrefslogtreecommitdiff
path: root/editors/emacs21-nox11
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu>2011-02-08 13:20:13 +0000
committerhiramatsu <hiramatsu>2011-02-08 13:20:13 +0000
commit20d2251c0fb3489f561adfe3bef125825b0afe78 (patch)
treed5620aecb0415e88de8c801759d08ce7070b5db0 /editors/emacs21-nox11
parent44a8a18f21fb937a02701c9cbd41722933e32cd9 (diff)
downloadpkgsrc-20d2251c0fb3489f561adfe3bef125825b0afe78.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