From owner-ports-jp@jp.freebsd.org  Wed Sep 20 17:48:49 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id RAA42176;
	Wed, 20 Sep 2000 17:48:49 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from diana.infonets.hiroshima-u.ac.jp (diana.infonets.hiroshima-u.ac.jp [133.41.33.53])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id RAA42171
	for <ports-jp@jp.freebsd.org>; Wed, 20 Sep 2000 17:48:49 +0900 (JST)
	(envelope-from taoka@infonets.hiroshima-u.ac.jp)
Received: from peg.infonets.hiroshima-u.ac.jp (peg.infonets.hiroshima-u.ac.jp [133.41.33.64])
	by diana.infonets.hiroshima-u.ac.jp (8.9.3/3.7W) with ESMTP id RAA69302
	for <ports-jp@jp.freebsd.org>; Wed, 20 Sep 2000 17:47:55 +0900 (JST)
Received: from localhost (localhost.infonets.hiroshima-u.ac.jp [127.0.0.1]) by peg.infonets.hiroshima-u.ac.jp (8.9.3/3.6W) with ESMTP
	id RAA52292 for <ports-jp@jp.freebsd.org>; Wed, 20 Sep 2000 17:51:42 +0900 (JST)
To: ports-jp@jp.freebsd.org
From: TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp>
In-Reply-To: <200009200840.e8K8eUG33498@pis.toba-cmt.ac.jp>
References: <200009081056.e88AuJG21647@pis.toba-cmt.ac.jp>
	<20000920172145J.taoka@infonets.hiroshima-u.ac.jp>
	<200009200840.e8K8eUG33498@pis.toba-cmt.ac.jp>
X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Channel Islands)
X-Prom-Mew: Prom-Mew 1.93.4 (procmail reader for Mew)
X-URL: http://www.infonets.hiroshima-u.ac.jp/~taoka/
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20000920175142G.taoka@infonets.hiroshima-u.ac.jp>
Date: Wed, 20 Sep 2000 17:51:42 +0900
X-Dispatcher: imput version 20000228(IM140)
Lines: 155
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: ports-jp 10111
Subject: [ports-jp 10111] Re: xemacs-mule-common
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: taoka@infonets.hiroshima-u.ac.jp

> 
> $B$($(!<$HOC$,A08e$7$F?=$7Lu$J$$$G$9$,(B
> http://home.jp.FreeBSD.ORG/cgi-bin/showmail/ports-jp/10001 $B$N%Q%C%A$r(B
> $B<h$j9~$a$PNI$$$s$G$9$M!#(B

$B$=$&$G$9!#$"$H!"@h$[$I$N(Bconfigure$B$NJQ99$b$"$j$^$9$N$G!":#!"(B

cvs di editors/xemacs* japanese/xemacs* 

$B$G<h$C$?(Bdiff$B$rIU$1$^$9!#$J$*!"(B

--- editors/xemacs21/Makefile	2000/08/09 17:45:08	1.51

$B$NJQ99$r$9$k$H!"(B

 /usr/local/lib/xemacs-21.1.12/i386--freebsd4.1/

$B$K$J$j$^$9!#(B

$BED2,(B


Index: editors/xemacs21/Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/xemacs21/Makefile,v
retrieving revision 1.51
diff -u -r1.51 Makefile
--- editors/xemacs21/Makefile	2000/08/09 17:45:08	1.51
+++ editors/xemacs21/Makefile	2000/09/20 08:47:59
@@ -31,11 +31,10 @@
 USE_XPM=	yes
 USE_GMAKE=	yes
 STRIP=
-HAS_CONFIGURE=	yes
-XEMACS_ARCH=	${MACHINE_ARCH}--freebsd
+USE_AUTOCONF=	yes
+XEMACS_ARCH=	${MACHINE_ARCH}--freebsd${OSREL}
 
-CONFIGURE_ARGS?=${XEMACS_ARCH} --prefix=${PREFIX} \
-		--with-clash-detection \
+CONFIGURE_ARGS?=--with-clash-detection \
 		--lockdir=/var/run/emacs/lock \
 		--with-sound=native \
 		--with-session=yes \
Index: editors/xemacs21/patches/patch-af
===================================================================
RCS file: /home/ncvs/ports/editors/xemacs21/patches/patch-af,v
retrieving revision 1.12
diff -u -r1.12 patch-af
--- editors/xemacs21/patches/patch-af	2000/08/09 17:45:18	1.12
+++ editors/xemacs21/patches/patch-af	2000/09/08 07:30:18
@@ -1,19 +1,53 @@
---- configure.orig	Fri Aug  4 11:49:54 2000
-+++ configure	Mon Aug  7 22:38:52 2000
-@@ -1042,6 +1042,7 @@
- 
+--- configure.in.orig	Fri Aug  4 11:49:59 2000
++++ configure.in	Fri Sep  8 16:12:55 2000
+@@ -1053,6 +1053,7 @@
+ dnl Straightforward OS determination
  case "$canonical" in
    *-*-linux*    ) opsys=linux ;;
 +  *-*-freebsd* ) opsys=freebsd ;;
    *-*-netbsd*   ) opsys=netbsd ;;
    *-*-openbsd*	) opsys=openbsd ;;
    *-*-nextstep* ) opsys=nextstep ;;
-@@ -11407,7 +11408,7 @@
+@@ -3052,21 +3053,24 @@
+     test "$ac_cv_func_crypt" != "yes" && { AC_CHECK_LIB(crypt, crypt) }
+   fi
+   dnl Back to our regularly scheduled wnn hunting
+-  if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
+-    AC_CHECK_LIB(wnn,jl_dic_list_e,libwnn=wnn,
+-      AC_CHECK_LIB(wnn4,jl_dic_list_e,libwnn=wnn4,
+-	AC_CHECK_LIB(wnn6,jl_dic_list_e,libwnn=wnn6,
+-	  AC_CHECK_LIB(wnn6_fromsrc,dic_list_e,libwnn=wnn6_fromsrc,with_wnn=no))))
++  if test "$with_wnn6" = "yes"; then
++    AC_CHECK_LIB(wnn6,jl_fi_dic_list_e,libwnn=wnn6,
++      AC_CHECK_LIB(wnn6_fromsrc,jl_fi_dic_list_e,libwnn=wnn6_fromsrc,
++	AC_CHECK_LIB(wnn,jl_fi_dic_list_e,libwnn=wnn, [with_wnn6=no; with_wnn=no])))
++  else
++    if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
++      AC_CHECK_LIB(wnn,jl_dic_list_e,libwnn=wnn,
++	AC_CHECK_LIB(wnn4,jl_dic_list_e,libwnn=wnn4,
++	  AC_CHECK_LIB(wnn6,jl_fi_dic_list_e,[libwnn=wnn6; with_wnn6=yes],
++	    AC_CHECK_LIB(wnn6_fromsrc,jl_fi_dic_list_e, [libwnn=wnn6_fromsrc; with_wnn6=yes],with_wnn=no))))
++    fi
+   fi
+   test -z "$with_wnn" && with_wnn=yes
+   if test "$with_wnn" = "yes"; then
+     AC_DEFINE(HAVE_WNN)
+     XE_PREPEND(-l$libwnn, libs_x)
+     XE_ADD_OBJS(mule-wnnfns.o)
+-    if test "$with_wnn6" != "no"; then
+-      AC_CHECK_LIB($libwnn, jl_fi_dic_list, with_wnn6=yes)
+-      test "$with_wnn6" = "yes" && AC_DEFINE(WNN6)
+-    fi
++    test "$with_wnn6" = "yes" && AC_DEFINE(WNN6)
+   fi
+ 
+   dnl Autodetect canna
+@@ -3579,7 +3583,7 @@
+ dnl Check for Berkeley DB.
  if test "$with_database_berkdb" != "no"; then
-   echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
- echo "configure:11410: checking for Berkeley db.h" >&5
+   AC_MSG_CHECKING(for Berkeley db.h)
 -  for path in "db/db.h" "db.h"; do
 +  for path in "/usr/include/db.h" "db/db.h" "db.h"; do
-     cat > conftest.$ac_ext <<EOF
- #line 11413 "configure"
- #include "confdefs.h"
+     AC_TRY_COMPILE([
+ #include <stdlib.h>
+ #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
Index: japanese/xemacs21-canna/Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/xemacs21-canna/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- japanese/xemacs21-canna/Makefile	2000/09/08 04:34:52	1.15
+++ japanese/xemacs21-canna/Makefile	2000/09/08 08:09:48
@@ -31,27 +31,27 @@
 DESCR_TMPL=		${.CURDIR}/../xemacs${XEMACS_MAJOR_VER}-canna/files/DESCR.tmpl
 .if defined(CANNA) && defined(FREEWNN)
 PKGNAMESUFFIX=		-canna+freewnn
-SITE_INCLUDES=		${LOCALBASE}/include/wnn
 WITH_INPUT_METHOD=	--with-canna --with-wnn --with-wnn6=no
 LIB_INPUT_METHOD=	canna.1:${PORTSDIR}/japanese/Canna \
 			wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
 COMMENT_TEXT=		XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK, Canna and FreeWnn support
 .elif defined(CANNA) && defined(WNN6)
 PKGNAMESUFFIX=		-canna+wnn6
+SITE_INCLUDES=		${LOCALBASE}/include/wnn6
 WITH_INPUT_METHOD=	--with-canna --with-wnn6
-LIB_INPUT_METHOD=	canna.1:${PORTSDIR}/japanese/Canna
-BUILD_INPUT_METHOD=	${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
+LIB_INPUT_METHOD=	canna.1:${PORTSDIR}/japanese/Canna \
+			wnn6.1:${PORTSDIR}/japanese/Wnn6-lib
 COMMENT_TEXT=		XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK, Canna and Wnn6 support
 .elif defined(FREEWNN)
 PKGNAMESUFFIX=		-freewnn
-SITE_INCLUDES=		${LOCALBASE}/include/wnn
 WITH_INPUT_METHOD=	--with-wnn --with-canna=no --with-wnn6=no
 LIB_INPUT_METHOD=	wnn.0:${PORTSDIR}/japanese/FreeWnn-lib
 COMMENT_TEXT=		XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK and FreeWnn support
 .elif defined(WNN6)
 PKGNAMESUFFIX=		-wnn6
+SITE_INCLUDES=		${LOCALBASE}/include/wnn6
 WITH_INPUT_METHOD=	--with-wnn6 --with-canna=no
-BUILD_INPUT_METHOD=	${PREFIX}/include/wnn/jlib.h:${PORTSDIR}/japanese/Wnn6-lib
+LIB_INPUT_METHOD=	wnn6.1:${PORTSDIR}/japanese/Wnn6-lib
 COMMENT_TEXT=		XEmacs(version ${XEMACS_MAJOR_VER}) text editor, with SJ3, SKK and Wnn6 support
 .else
 PKGNAMESUFFIX=		-canna
