summaryrefslogtreecommitdiff
path: root/editors/emacs21/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs21/Makefile.common')
-rw-r--r--editors/emacs21/Makefile.common6
1 files changed, 5 insertions, 1 deletions
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.