summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-08-30 10:59:43 +0000
committerfrueauf <frueauf>1998-08-30 10:59:43 +0000
commitbc5b76720a9232d77923e17d01b5daec4d37b30e (patch)
tree704e10a19cfc3d6b970ec1128faeb3b7afad8bad /editors
parent614a38c9f936e42e96b781bc5dee7932c689d490 (diff)
downloadpkgsrc-bc5b76720a9232d77923e17d01b5daec4d37b30e.tar.gz
Only use and depend on pkgsrc/mail/faces if USE_XFACE is set.
Diffstat (limited to 'editors')
-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}"