summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/xemacs-packages/Makefile14
-rw-r--r--editors/xemacs/Makefile.pkg13
2 files changed, 15 insertions, 12 deletions
diff --git a/editors/xemacs-packages/Makefile b/editors/xemacs-packages/Makefile
index c774541f245..6a8f0473506 100644
--- a/editors/xemacs-packages/Makefile
+++ b/editors/xemacs-packages/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2002/04/26 07:24:14 tron Exp $
+# $NetBSD: Makefile,v 1.28 2002/04/26 09:35:07 tron Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1999/06/22 22:16:53 gj Exp
DISTNAME= xemacs-packages
@@ -37,17 +37,7 @@ EXTRACT_ONLY= # empty
NO_BUILD= yes
WRKSRC= ${WRKDIR}
-.include "../../mk/bsd.prefs.mk"
-
-.if !defined(XEMACS_PREFIX)
-XEMACS_PREFIX!= ${MAKE} XEMACS_PREFIX= EVAL_PREFIX=_XEMACS_PREFIX=xemacs \
- VARNAME=_XEMACS_PREFIX show-var
-MAKEFLAGS+= XEMACS_PREFIX=${XEMACS_PREFIX}
-.endif
-
-.if (${XEMACS_PREFIX} == ${X11BASE})
-USE_X11BASE= YES
-.endif
+.include "../../editors/xemacs/Makefile.pkg"
.if defined(MANZ)
PLIST_SUBST+= ELSUFX=.gz
diff --git a/editors/xemacs/Makefile.pkg b/editors/xemacs/Makefile.pkg
new file mode 100644
index 00000000000..44fbca5e5c8
--- /dev/null
+++ b/editors/xemacs/Makefile.pkg
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile.pkg,v 1.1 2002/04/26 09:35:06 tron Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !defined(XEMACS_PREFIX)
+XEMACS_PREFIX!= ${MAKE} XEMACS_PREFIX= EVAL_PREFIX=_XEMACS_PREFIX=xemacs \
+ VARNAME=_XEMACS_PREFIX show-var
+MAKEFLAGS+= XEMACS_PREFIX=${XEMACS_PREFIX}
+.endif
+
+.if (${XEMACS_PREFIX} == ${X11BASE})
+USE_X11BASE= YES
+.endif