From 20d2251c0fb3489f561adfe3bef125825b0afe78 Mon Sep 17 00:00:00 2001 From: hiramatsu Date: Tue, 8 Feb 2011 13:20:13 +0000 Subject: 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. --- editors/emacs21-nox11/version.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/emacs21-nox11') 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 -- cgit v1.2.3