pkgsrc/editors/emacs22-nox11/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
210 B
Makefile

# $NetBSD: version.mk,v 1.2 2011/02/08 13:20:14 hiramatsu Exp $
_EMACS_FLAVOR= emacs
_EMACS_REQD= emacs-nox11>=22.3<23
_EMACS_PKGDEP.base=
_EMACS_PKGDEP.leim=
_EMACS_VERSION_MAJOR= 22
_EMACS_VERSION_MINOR= 3