From 26ed415b0d88fca2f9475577c9c660868709ac54 Mon Sep 17 00:00:00 2001 From: magick Date: Fri, 5 Apr 2002 18:39:18 +0000 Subject: 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. --- editors/xemacs/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'editors') 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} \ -- cgit v1.2.3