summaryrefslogtreecommitdiff
path: root/editors/xemacs
diff options
context:
space:
mode:
authormagick <magick@pkgsrc.org>2002-04-05 18:39:18 +0000
committermagick <magick@pkgsrc.org>2002-04-05 18:39:18 +0000
commit26ed415b0d88fca2f9475577c9c660868709ac54 (patch)
tree4bf7a59eaea18cf71dbb78fe8cf83011ced5d340 /editors/xemacs
parentbc4a8b3a74bde079d4675d3ab72d16e1bfe837d9 (diff)
downloadpkgsrc-26ed415b0d88fca2f9475577c9c660868709ac54.tar.gz
Add canna support to xemacs. This closes pkg/14406 submitted by
OGATA Hiroshi. Canna support is enabled by setting EMACS_CANNA=YES. I didn't use USE_CANNA suggested in the pr as this variable is set to YES by default in bsd.pkg.mk as it was used in japanese packages only.
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index 9013cf13d82..b3e39235e82 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2002/03/29 14:48:23 magick Exp $
+# $NetBSD: Makefile,v 1.47 2002/04/05 18:39:18 magick Exp $
DISTNAME= xemacs-21.1.14
PKGREVISION= 2
@@ -57,10 +57,18 @@ DEPENDS+= faces>=1.6.1:../../mail/faces
WITH_XFACE= --with-xface=no
.endif
+.if defined(EMACS_CANNA) && ${EMACS_CANNA} == YES
+WITH_CANNA= --with-canna=yes
+DEPENDS+= Canna-lib-3*:../../japanese/canna-lib
+.else
+WITH_CANNA= --with-canna=no
+.endif
+
CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM} --prefix=${PREFIX} \
--with-clash-detection --with-mule=yes \
--with-ncurses=no --with-session=yes \
${WITH_DIALOGS} ${WITH_LDAP} ${WITH_XFACE} \
+ ${WITH_CANNA} \
--infopath="${PREFIX}/info:${X11BASE}/info:/usr/local/info" \
--lockdir=/var/tmp/xemacs.lock \
--site-includes=${PREFIX}/include:${WRKDIR} \