summaryrefslogtreecommitdiff
path: root/editors/emacs21-nox11
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-08-13 12:40:57 +0000
committerjlam <jlam@pkgsrc.org>2007-08-13 12:40:57 +0000
commit81867fe6ef7fe46dc373c35df23a5ed9cb0e55a5 (patch)
tree8552a79498067dda4b7f3f68a15003858bc3d074 /editors/emacs21-nox11
parentd630f7f510973cac23195da6d1d277d776921899 (diff)
downloadpkgsrc-81867fe6ef7fe46dc373c35df23a5ed9cb0e55a5.tar.gz
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.
Diffstat (limited to 'editors/emacs21-nox11')
-rw-r--r--editors/emacs21-nox11/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/editors/emacs21-nox11/Makefile b/editors/emacs21-nox11/Makefile
index 8ededecd41a..f5d57e7caab 100644
--- a/editors/emacs21-nox11/Makefile
+++ b/editors/emacs21-nox11/Makefile
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.4 2007/06/11 13:38:47 markd Exp $
+# $NetBSD: Makefile,v 1.5 2007/08/13 12:40:59 jlam Exp $
-DISTNAME= emacs-${EMACSVERSION}a
PKGNAME= emacs-nox11-${EMACSVERSION}a
-PKGREVISION= 8
CATEGORIES= editors
-COMMENT= GNU editing macros (editor) - non X11 version
-
-.include "../../editors/emacs21/Makefile.common"
+COMMENT_EXTRA= : non-X11 version
CONFLICTS+= emacs-[0-9]*
-CONFIGURE_ARGS+=--without-x
+.include "../../mk/bsd.prefs.mk"
+
+# Forcibly remove any "x11" options.
+PKG_OPTIONS.emacs+= -x11 -emacs-xaw3d -motif -xaw
-.include "../../mk/bsd.pkg.mk"
+.include "../../editors/emacs21/Makefile"