summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormagick <magick@pkgsrc.org>2002-04-05 18:44:01 +0000
committermagick <magick@pkgsrc.org>2002-04-05 18:44:01 +0000
commit8f79d11a62cdeb14270c451e6e9cdb553cdde68d (patch)
treec16eeb0adf756ed32372e7c31034394c9164b0bb
parent26ed415b0d88fca2f9475577c9c660868709ac54 (diff)
downloadpkgsrc-8f79d11a62cdeb14270c451e6e9cdb553cdde68d.tar.gz
Add canna support to xemacs-current. It is enabled by EMACS_CANNA=YES
in mk.conf. Closes pkg/14406 by OGATA Hiroshi.
-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 \