summaryrefslogtreecommitdiff
path: root/editors/emacs-nox11/version.mk
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
commit35817d4ab89e923357d38767b050ecaa3398e6e1 (patch)
treed5620aecb0415e88de8c801759d08ce7070b5db0 /editors/emacs-nox11/version.mk
parentdbc5c4b474f9dfc94df412043992965f9cce94a2 (diff)
downloadpkgsrc-35817d4ab89e923357d38767b050ecaa3398e6e1.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/emacs-nox11/version.mk')
-rw-r--r--editors/emacs-nox11/version.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/emacs-nox11/version.mk b/editors/emacs-nox11/version.mk
index c259cc47184..286e66e3ae6 100644
--- a/editors/emacs-nox11/version.mk
+++ b/editors/emacs-nox11/version.mk
@@ -1,7 +1,7 @@
-# $NetBSD: version.mk,v 1.4 2010/10/12 13:22:46 joerg Exp $
+# $NetBSD: version.mk,v 1.5 2011/02/08 13:20:13 hiramatsu Exp $
_EMACS_FLAVOR= emacs
-_EMACS_REQD= emacs-nox11>=23<24
+_EMACS_REQD= emacs-nox11>=23.2<24
_EMACS_VERSION_MAJOR= 23
-_EMACS_VERSION_MINOR= 1
+_EMACS_VERSION_MINOR= 2