pkgsrc/editors/emacs21/Makefile
jlam d2c1168fbb Fix up the use of package options in the Emacs packages:
(1) Get rid of "nox11" -- the concept of "no" in package options is
    expressed by negating an option; use "-x11" instead.

(2) Teach editors/emacs20 to use package options instead of EMACS_USE_POP,
    EMACS_USE_X, EMACS_USE_X_TOOLKIT and USE_INET6.  We now use similar
    options as the other emacs packages, i.e. "x11", "motif", "xaw",
    as well as "pop" and "inet6".

(3) Make the emacs*-nox11 packages simply remove all X11 options by
    setting PKG_OPTIONS.emacs appropriately and include the corresponding
    emacs Makefile.  This allows for modifications to the emacs "X11"
    versions to be automatically picked up by the "non-X11" versions.
    The two corresponding versions of emacs now share the same version
    numbering, including PKGREVISIONs.

Bump the PKGREVISIONs on all Emacs editor packages.
2007-08-13 12:40:57 +00:00

18 lines
359 B
Makefile

# $NetBSD: Makefile,v 1.7 2007/08/13 12:40:58 jlam Exp $
DISTNAME= emacs-${EMACSVERSION}a
PKGREVISION= 11
CATEGORIES= editors
COMMENT= GNU editing macros (editor)
.include "../../editors/emacs21/Makefile.common"
USE_TOOLS+= imake
CONFLICTS+= emacs-nox11-[0-9]*
CONFIGURE_ARGS+= --srcdir=${WRKSRC:Q}
.include "options.mk"
.include "../../mk/bsd.pkg.mk"