aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-04-17 08:18:05 +0800
committerreg <reg@FreeBSD.org>2000-04-17 08:18:05 +0800
commit8b766534122d71052c9f8e5a0752944edf0450f8 (patch)
tree255862bd3b0c32802317a9ddc3193fd714753916 /chinese
parente0c8ef49d897de0719277097a1e6578f291f493e (diff)
downloadfreebsd-ports-gnome-8b766534122d71052c9f8e5a0752944edf0450f8.tar.gz
freebsd-ports-gnome-8b766534122d71052c9f8e5a0752944edf0450f8.tar.zst
freebsd-ports-gnome-8b766534122d71052c9f8e5a0752944edf0450f8.zip
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
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: