From owner-ports-jp@jp.freebsd.org  Fri Oct  9 10:45:20 1998
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id KAA29115;
	Fri, 9 Oct 1998 10:45:20 +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 jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id KAA29108
	for <ports-jp@jp.freebsd.org>; Fri, 9 Oct 1998 10:45:19 +0900 (JST)
	(envelope-from taoka@infonets.hiroshima-u.ac.jp)
Received: from cal.infonets.hiroshima-u.ac.jp (cal.infonets.hiroshima-u.ac.jp [133.41.33.61])
	by diana.infonets.hiroshima-u.ac.jp (8.8.8/3.6W) with ESMTP id KAA17902
	for <ports-jp@jp.freebsd.org>; Fri, 9 Oct 1998 10:45:19 +0900 (JST)
Received: from localhost (localhost.infonets.hiroshima-u.ac.jp [127.0.0.1]) by cal.infonets.hiroshima-u.ac.jp (8.8.8/3.6W) with ESMTP
	id KAA24303 for <ports-jp@jp.freebsd.org>; Fri, 9 Oct 1998 10:45:18 +0900 (JST)
To: ports-jp@jp.freebsd.org
From: TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp>
X-Mailer: Mew version 1.93 on XEmacs 20.4 (Emerald)
X-Prom-Mew: Prom-Mew 1.93 (procmail reader for Mew)
X-URL: http://www.infonets.hiroshima-u.ac.jp/~taoka/
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Fri_Oct__9_10:45:07_1998_41)--"
Content-Transfer-Encoding: 7bit
Message-Id: <19981009104517U.taoka@infonets.hiroshima-u.ac.jp>
Date: Fri, 09 Oct 1998 10:45:17 +0900
X-Dispatcher: imput version 980905(IM100)
Lines: 79
Reply-To: ports-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: ports-jp 4748
Subject: [ports-jp 4748] lock & xemacs-mule
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org

----Next_Part(Fri_Oct__9_10:45:07_1998_41)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit


$BED2,$G$9!#(B

xemacs-mule$B$N(Bports$BNI$$$h$&$G$9!#$?$@!"(Block$B$rE}0l$9$k$H$$$&JQ99$,$J$5$l$F(B
$B$^$;$s$G$7$?!#E:IU$7$?(Bpatch$B$r$"$F$F2<$5$$!#(B

patch -p$B$G$*4j$$$7$^$9!#(Bfiles/xemacs-mule.sh$B$,?75,%U%!%$%k$G$9!#(B

# $B$3$l$O(Beditors/xemacs20$B$+$iD:$-$^$7$?!#(B

$B$?$@$7!"(Bmule 2.3$B$G$O$A$c$s$H(Block$B=PMh$F$k$N$G$9$,!"(Bxemacs$B$G$O=PMh$^$;$s!#(B
$B2?$+FCJL$J$3$H$7$J$$$H$$$1$J$$$N$G$7$g$&$+!)(B





----Next_Part(Fri_Oct__9_10:45:07_1998_41)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: diff.xemacs-mule
Content-Disposition: attachment; filename=diff.xemacs-mule

diff -aruN orig/editors/xemacs-mule/Makefile editors/xemacs-mule/Makefile
--- orig/editors/xemacs-mule/Makefile	Thu Oct  8 17:08:54 1998
+++ editors/xemacs-mule/Makefile	Fri Oct  9 09:29:39 1998
@@ -39,6 +39,7 @@
 GNU_CONFIGURE=	yes
 USE_AUTOCONF=	yes
 CONFIGURE_ARGS=	i386-unknown-freebsd \
+		--lockdir=/var/run/emacs/lock \
 		--with-x11 \
 		--with-mule \
 		--x-includes=${X11BASE}/include \
diff -aruN orig/editors/xemacs-mule-common/Makefile editors/xemacs-mule-common/Makefile
--- orig/editors/xemacs-mule-common/Makefile	Thu Oct  8 17:09:27 1998
+++ editors/xemacs-mule-common/Makefile	Fri Oct  9 09:31:14 1998
@@ -72,6 +72,9 @@
 	fi
 
 post-install:
+# install xemacs-mule.sh into ${PREFIX}/etc/rc.d
+	@if [ ! -d ${PREFIX}/etc/rc.d ]; then mkdir -p ${PREFIX}/etc/rc.d; fi
+	${INSTALL_SCRIPT} ${FILESDIR}/xemacs-mule.sh ${PREFIX}/etc/rc.d
 	@${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE}
 
 post-package:
diff -aruN orig/editors/xemacs-mule-common/files/xemacs-mule.sh editors/xemacs-mule-common/files/xemacs-mule.sh
--- orig/editors/xemacs-mule-common/files/xemacs-mule.sh	Thu Jan  1 09:00:00 1970
+++ editors/xemacs-mule-common/files/xemacs-mule.sh	Fri Oct  9 09:33:05 1998
@@ -0,0 +1,9 @@
+#!/bin/sh
+if [ -d /var/run/emacs/lock ]
+then
+	rm -f /var/run/emacs/lock/*
+else
+	mkdir -p /var/run/emacs/lock
+fi
+chmod 1777 /var/run/emacs/lock
+exit 0
diff -aruN orig/editors/xemacs-mule-common/pkg/PLIST editors/xemacs-mule-common/pkg/PLIST
--- orig/editors/xemacs-mule-common/pkg/PLIST	Thu Oct  8 17:39:06 1998
+++ editors/xemacs-mule-common/pkg/PLIST	Fri Oct  9 09:34:03 1998
@@ -3,8 +3,7 @@
 @exec [ -f %D/lib/xemacs/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir-tmpl > %D/lib/xemacs/info/dir
 @exec mkdir -p %D/lib/xemacs/site-lisp
 @exec mkdir -p %D/lib/xemacs/packages
-@exec mkdir -p %D/lib/xemacs/lock
-@exec chmod 777 %D/lib/xemacs/lock
+@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock
 @comment
 @comment XEmacs etc
 @comment

----Next_Part(Fri_Oct__9_10:45:07_1998_41)----
