aboutsummaryrefslogtreecommitdiff
path: root/chinese/xemacs
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-04-17 00:18:05 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-04-17 00:18:05 +0000
commit877b8a533b44bb6324ebbaf65cd80a60d1572003 (patch)
treee1a018208ceade04ca56a70c5184978cac51853e /chinese/xemacs
parentd12f14432cc492205cefb505a3c1320dd0f4e31a (diff)
downloadports-877b8a533b44bb6324ebbaf65cd80a60d1572003.tar.gz
ports-877b8a533b44bb6324ebbaf65cd80a60d1572003.zip
Notes
Diffstat (limited to 'chinese/xemacs')
-rw-r--r--chinese/xemacs/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/chinese/xemacs/Makefile b/chinese/xemacs/Makefile
index b6a86fa1effc..8ea6d9c2e5f0 100644
--- a/chinese/xemacs/Makefile
+++ b/chinese/xemacs/Makefile
@@ -28,7 +28,6 @@ HAS_CONFIGURE= yes
XEMACS_ARCH= ${MACHINE_ARCH}--freebsd
CONFIGURE_ARGS= ${XEMACS_ARCH} --prefix=${PREFIX} \
--with-mule \
- ${WITH_XIM} \
--with-xfs \
--with-clash-detection \
--lockdir=/var/run/emacs/lock \
@@ -36,20 +35,16 @@ CONFIGURE_ARGS= ${XEMACS_ARCH} --prefix=${PREFIX} \
--site-includes=${PREFIX}/include \
--site-libraries=${PREFIX}/lib \
--sitelispdir="${PREFIX}/lib/xemacs/site-lisp ${PREFIX}/share/emacs/site-lisp" \
- --with-session=yes \
- ${WITH_MENUBARS} ${WITH_DIALOGS} \
- ${WITH_XFACE} ${WITH_OFFIX}
+ --with-session=yes
MAN1= ctags.1 etags.1 gnuattach.1 gnuclient.1 gnudoit.1 \
gnuserv.1 xemacs.1
ALL_TARGET= all dist
PLIST_SUB= XEMACS_VER=20.4 XEMACS_ARCH=${XEMACS_ARCH}
.if defined(REAL_MOTIF)
-WITH_MENUBARS= --with-menubars=lucid
-WITH_XIM= --with-xim=motif
+CONFIGURE_ARGS+= --with-menubars=lucid --with-xim=motif
.else
-WITH_MENUBARS= --with-menubars=lucid
-WITH_XIM= --with-xim=xlib
+CONFIGURE_ARGS+= --with-menubars=lucid --with-xim=xlib
.endif
# Have
@@ -69,14 +64,13 @@ pre-configure:
# hack to avoid shipping binaries linked with Motif
.if defined(MOTIF_STATIC)
-WITH_DIALOGS= --with-dialogs=athena
+CONFIGURE_ARGS+= --with-dialogs=athena
.endif
# Drop faces (libcompface) and offix (libDnd) if building package,
# autodetect otherwise
.if defined(PACKAGE_BUILDING)
-WITH_XFACE?= --with-xface=no
-WITH_OFFIX?= --with-offix=no
+CONFIGURE_ARGS+= --with-xface=no --with-offix=no
.endif
post-install: