summaryrefslogtreecommitdiff
path: root/editors/xemacs20/Makefile
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-08-30 10:59:43 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-08-30 10:59:43 +0000
commit25428ee1e359293159fb08a37281ecbdd9115400 (patch)
tree704e10a19cfc3d6b970ec1128faeb3b7afad8bad /editors/xemacs20/Makefile
parent2a9f49cb8166fa41e8fa0769c8b9830f32ff8628 (diff)
downloadpkgsrc-25428ee1e359293159fb08a37281ecbdd9115400.tar.gz
Only use and depend on pkgsrc/mail/faces if USE_XFACE is set.
Diffstat (limited to 'editors/xemacs20/Makefile')
-rw-r--r--editors/xemacs20/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/editors/xemacs20/Makefile b/editors/xemacs20/Makefile
index 22acca70e57..b0253cca24f 100644
--- a/editors/xemacs20/Makefile
+++ b/editors/xemacs20/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 1998/08/20 15:16:52 tsarna Exp $
+# $NetBSD: Makefile,v 1.33 1998/08/30 10:59:43 frueauf Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1997/09/03 19:27:57 gj Exp
#
@@ -44,13 +44,20 @@ REALPLIST= PLIST.mule
REALPLIST= PLIST.nomule
.endif
+.if defined(USE_XFACE)
+WITH_XFACE= --with-xface
+DEPENDS+= faces-1.6.1:../../mail/faces
+.else
+WITH_XFACE= --with-xface=no
+.endif
+
CONFIGURE_ARGS+=${MACHINE_GNU_ARCH}--netbsd --prefix=${PREFIX} \
--site-includes=${PREFIX}/include \
${WITH_SOUND} \
--infopath="${PREFIX}/info:${X11BASE}/info:/usr/local/info" \
--site-libraries=${PREFIX}/lib \
--sitelispdir="${PREFIX}/lib/xemacs/site-lisp ${PREFIX}/share/xemacs/site-lisp" \
- ${WITH_MULE} ${WITH_DIALOGS}
+ ${WITH_MULE} ${WITH_DIALOGS} ${WITH_XFACE}
MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}" INSTALL_SCRIPT="${INSTALL_SCRIPT}"