summaryrefslogtreecommitdiff
path: root/editors/xemacs-current
diff options
context:
space:
mode:
authormagick <magick>2002-04-05 18:44:01 +0000
committermagick <magick>2002-04-05 18:44:01 +0000
commit5eeeaa8a39506344997c73dceb583abc4e832248 (patch)
treec16eeb0adf756ed32372e7c31034394c9164b0bb /editors/xemacs-current
parentb8f9bf3e6924c9a93fcc82d522a1449f617a8d9b (diff)
downloadpkgsrc-5eeeaa8a39506344997c73dceb583abc4e832248.tar.gz
Add canna support to xemacs-current. It is enabled by EMACS_CANNA=YES
in mk.conf. Closes pkg/14406 by OGATA Hiroshi.
Diffstat (limited to 'editors/xemacs-current')
-rw-r--r--editors/xemacs-current/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/editors/xemacs-current/Makefile b/editors/xemacs-current/Makefile
index 5a5992caac2..0262808ac1b 100644
--- a/editors/xemacs-current/Makefile
+++ b/editors/xemacs-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/04/01 18:15:52 magick Exp $
+# $NetBSD: Makefile,v 1.6 2002/04/05 18:44:01 magick Exp $
DISTNAME= xemacs-21.5.5
CATEGORIES= editors
@@ -51,6 +51,13 @@ WITH_XFACE= --with-xface=yes
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
+
.include "../../databases/gdbm/buildlink.mk"
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
@@ -60,6 +67,7 @@ CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM} --prefix=${PREFIX} \
--with-clash-detection --with-mule=yes \
--with-ncurses=no ${WITH_WIDGETS} \
${WITH_LDAP} ${WITH_XFACE} \
+ ${WITH_CANNA} \
--infopath="${PREFIX}/info:${X11BASE}/info:/usr/local/info" \
--site-includes=${PREFIX}/include:${WRKDIR} \
--site-libraries=${PREFIX}/lib \