summaryrefslogtreecommitdiff
path: root/chinese
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
parentReplace AWOL maintainer with an active one (Assar Westerlund <assar@stacken.k... (diff)
Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options. No comment by: ports
Notes
Notes: svn path=/head/; revision=27679
Diffstat (limited to 'chinese')
-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: