diff options
author | hiramatsu <hiramatsu@pkgsrc.org> | 2011-02-08 13:20:13 +0000 |
---|---|---|
committer | hiramatsu <hiramatsu@pkgsrc.org> | 2011-02-08 13:20:13 +0000 |
commit | 4067957e3e0cfc1443a9c03d50a2c7d548d9cf98 (patch) | |
tree | d5620aecb0415e88de8c801759d08ce7070b5db0 /editors/emacs21-nox11 | |
parent | ffad1a9f0d4b9ff74e958a3fe780ae49ec409444 (diff) | |
download | pkgsrc-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.mk | 4 |
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 |