summaryrefslogtreecommitdiff
path: root/editors/emacs21
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2007-10-29 12:38:02 +0000
committeruebayasi <uebayasi@pkgsrc.org>2007-10-29 12:38:02 +0000
commitcce6d782c4945a87236575df98be6b8a949c1c05 (patch)
tree3a3e10b17c34b8994332816df1b06faea67782ca /editors/emacs21
parent113966a43430f5dbf86569075d623def6a35fd21 (diff)
downloadpkgsrc-cce6d782c4945a87236575df98be6b8a949c1c05.tar.gz
Fix build of emacs21-nox11.
Diffstat (limited to 'editors/emacs21')
-rw-r--r--editors/emacs21/Makefile11
-rw-r--r--editors/emacs21/Makefile.common6
2 files changed, 9 insertions, 8 deletions
diff --git a/editors/emacs21/Makefile b/editors/emacs21/Makefile
index ac51f42e700..30f3e275e30 100644
--- a/editors/emacs21/Makefile
+++ b/editors/emacs21/Makefile
@@ -1,18 +1,15 @@
-# $NetBSD: Makefile,v 1.7 2007/08/13 12:40:58 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2007/10/29 12:38:02 uebayasi 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}
+USE_TOOLS+= imake
.include "options.mk"
+.include "../../editors/emacs21/Makefile.common"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/emacs21/Makefile.common b/editors/emacs21/Makefile.common
index 339667035eb..e11b358332e 100644
--- a/editors/emacs21/Makefile.common
+++ b/editors/emacs21/Makefile.common
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile.common,v 1.1 2007/06/11 13:38:29 markd Exp $
+# $NetBSD: Makefile.common,v 1.2 2007/10/29 12:38:02 uebayasi Exp $
+
+DISTNAME= emacs-${EMACSVERSION}a
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
MAINTAINER= markd@NetBSD.org
@@ -25,6 +27,8 @@ MAKEFLAGS+= EMACSLOADPATH=${WRKSRC}/lisp
CHECK_WRKREF_SKIP+= bin/emacs
CHECK_WRKREF_SKIP+= bin/emacs-${EMACSVERSION}
+CONFIGURE_ARGS+= --srcdir=${WRKSRC:Q}
+
.include "../../mk/bsd.prefs.mk"
# This matches NetBSD <1.7 releases and 1.6A-1.6P, where ld is <2.13.2.1.