pkgsrc/editors/emacs21/version.mk
hiramatsu 8e9c83ebb2 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.
2011-02-08 13:20:13 +00:00

9 lines
260 B
Makefile

# $NetBSD: version.mk,v 1.2 2011/02/08 13:20:14 hiramatsu Exp $
_EMACS_FLAVOR= emacs
_EMACS_REQD= emacs>=21.4<22
_EMACS_PKGDEP.base=
_EMACS_PKGDEP.leim= leim>=21.${EMACS_VERSION_MINOR}<22:../../editors/leim21
_EMACS_VERSION_MAJOR= 21
_EMACS_VERSION_MINOR= 4