Subject: pkg/14406: patch of canna support of xemacs
To: None <gnats-bugs@gnats.netbsd.org>
From: OGATA <ogata@isp.qix.org>
List: netbsd-bugs
Date: 10/31/2001 03:23:35
>Number: 14406
>Category: pkg
>Synopsis: patch of canna support of xemacs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Oct 30 10:24:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: OGATA Hiroshi
>Release: NetBSD 1.5.2
>Organization:
>Environment:
System: NetBSD Leia2 1.5.2 NetBSD 1.5.2 (GENERIC_SCSI3-Leia2-1.5.2XCAST6) #0: Thu Oct 25 17:43:23 JST 2001 ogata@Kodiaka:/export/XCAST6/syssrc-xcast0.0.2/sys/arch/sparc/compile/GENERIC_SCSI3-Leia2-1.5.2XCAST6 sparc
>Description:
pkgsrc of xemacs will support canna.
I was reported tech-pkg-ja ML(Japanese).
http://www.jp.netbsd.org/ja/JP/ml/tech-pkg-ja/200110/msg00026.html
Try example of 'env WITH_CANNA=YES make'
Just work it, need apel.
How to install apel is use menu of xemacs by message of xemacs-package.
# Personally it tampered with the xemacs-package and aple is added,
# I'm set --without-x11.
I was tested it on SPARC, and it was no problem.
>How-To-Repeat:
>Fix:
diff -u -r -N xemacs.org/Makefile xemacs/Makefile
--- xemacs.org/Makefile Fri Sep 28 08:18:02 2001
+++ xemacs/Makefile Sun Oct 21 18:51:38 2001
@@ -60,10 +60,18 @@
WITH_XFACE= --with-xface=no
.endif
+.if defined(USE_CANNA) && ${USE_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} \
>Release-Note:
>Audit-Trail:
>Unformatted: