summaryrefslogtreecommitdiff
path: root/editors/xemacs-packages
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-04-26 07:24:14 +0000
committertron <tron@pkgsrc.org>2002-04-26 07:24:14 +0000
commit56c3cbc205744ea7f8b6c67b3385c1a0333bdd12 (patch)
tree5e7a170e19ad0ba0f2091fda0d1c602f3bd1d2ec /editors/xemacs-packages
parent66899f40f3a3876a0b1021dcf22187e814c474a1 (diff)
downloadpkgsrc-56c3cbc205744ea7f8b6c67b3385c1a0333bdd12.tar.gz
Install this package into "${X11BASE}" if the "xemacs" package is installed
there, too.
Diffstat (limited to 'editors/xemacs-packages')
-rw-r--r--editors/xemacs-packages/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/editors/xemacs-packages/Makefile b/editors/xemacs-packages/Makefile
index e156874e9cc..c774541f245 100644
--- a/editors/xemacs-packages/Makefile
+++ b/editors/xemacs-packages/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2002/03/21 13:19:57 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2002/04/26 07:24:14 tron Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1999/06/22 22:16:53 gj Exp
DISTNAME= xemacs-packages
@@ -39,6 +39,16 @@ 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
+
.if defined(MANZ)
PLIST_SUBST+= ELSUFX=.gz
.else