From 3966286a257bd0aee0584d786a8c38d5b7729d5c Mon Sep 17 00:00:00 2001 From: uebayasi Date: Mon, 29 Oct 2007 12:38:02 +0000 Subject: Fix build of emacs21-nox11. --- editors/emacs21/Makefile | 11 ++++------- editors/emacs21/Makefile.common | 6 +++++- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'editors/emacs21') 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. -- cgit v1.2.3