diff options
author | wiz <wiz@pkgsrc.org> | 2016-12-30 22:25:46 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-12-30 22:25:46 +0000 |
commit | 7ae0526cb8d3f0218ffc327b154b257195375de0 (patch) | |
tree | f375dfb0bbfcc05f30059f40b112d041538a0568 | |
parent | d6f7a47120073d7f925160a87f7cd96ebf26f51c (diff) | |
download | pkgsrc-7ae0526cb8d3f0218ffc327b154b257195375de0.tar.gz |
Fix options framework abuse in emacs22*.
Packages do not build for me on -current, so not build-tested.
-rw-r--r-- | editors/emacs22-nox11/Makefile | 7 | ||||
-rw-r--r-- | editors/emacs22/Makefile | 5 | ||||
-rw-r--r-- | editors/emacs22/Makefile.common | 9 |
3 files changed, 9 insertions, 12 deletions
diff --git a/editors/emacs22-nox11/Makefile b/editors/emacs22-nox11/Makefile index 9d7c39c59bb..92faf311498 100644 --- a/editors/emacs22-nox11/Makefile +++ b/editors/emacs22-nox11/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2013/02/24 01:25:30 dholland Exp $ +# $NetBSD: Makefile,v 1.10 2016/12/30 22:25:46 wiz Exp $ PKGNAME= ${DISTNAME:S/emacs/emacs22/:S/-/-nox11-/} PKGREVISION= 4 @@ -12,8 +12,5 @@ PKGDIR= ${.CURDIR}/../../editors/emacs22 # This needs to be set before including bsd.prefs.mk. SETGIDGAME= yes -.include "../../mk/bsd.prefs.mk" - -PKG_OPTIONS.emacs+= -x11 -gtk -motif -xaw - .include "../../editors/emacs22/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/editors/emacs22/Makefile b/editors/emacs22/Makefile index f317e79fa53..8922614c0e9 100644 --- a/editors/emacs22/Makefile +++ b/editors/emacs22/Makefile @@ -1,7 +1,10 @@ -# $NetBSD: Makefile,v 1.53 2016/08/03 10:22:40 adam Exp $ +# $NetBSD: Makefile,v 1.54 2016/12/30 22:25:46 wiz Exp $ PKGREVISION= 43 CONFLICTS+= emacs22-nox11-[0-9]* +.include "options.mk" + .include "../../editors/emacs22/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/editors/emacs22/Makefile.common b/editors/emacs22/Makefile.common index 8ea28a8dcba..9eb188c766a 100644 --- a/editors/emacs22/Makefile.common +++ b/editors/emacs22/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.6 2014/12/03 13:58:57 joerg Exp $ +# $NetBSD: Makefile.common,v 1.7 2016/12/30 22:25:46 wiz Exp $ # # used by editors/emacs22/Makefile # used by editors/emacs22-nox11/Makefile @@ -23,8 +23,6 @@ INFO_FILES= yes SETGIDGAME= yes -.include "options.mk" - MAKEFLAGS+= EMACSLOADPATH=${WRKSRC}/lisp CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} @@ -53,6 +51,8 @@ CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/emacs/tetris-scores \ ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE:Q} SPECIAL_PERMS+= libexec/emacs/${PKGVERSION_NOREV}/${MACHINE_GNU_PLATFORM}/update-game-score ${SETGID_GAMES_PERMS} +.include "../../mk/bsd.prefs.mk" + .if (${OPSYS} == "DragonFly") && exists(/usr/lib/crtn.o) CPPFLAGS+= -DDFLY_CRT_USRLIB .endif @@ -89,8 +89,5 @@ post-install: ${CHMOD} 755 ${DESTDIR}${PREFIX}/share/emacs/${PKGVERSION_NOREV}/${file} .endfor - .include "../../mk/oss.buildlink3.mk" .include "../../mk/termcap.buildlink3.mk" - -.include "../../mk/bsd.pkg.mk" |