From owner-ports-jp@jp.freebsd.org  Mon Oct 12 17:35:20 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id RAA03336;
	Mon, 12 Oct 1998 17:35:20 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from pis.toba-cmt.ac.jp (pis.toba-cmt.ac.jp [202.26.248.77])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id RAA03322
	for <ports-jp@jp.freebsd.org>; Mon, 12 Oct 1998 17:35:16 +0900 (JST)
	(envelope-from kiri@pis.toba-cmt.ac.jp)
Received: from localhost (localhost.pis [127.0.0.1])
	by pis.toba-cmt.ac.jp (8.9.1/8.8.8) with ESMTP id RAA19345
	for <ports-jp@jp.freebsd.org>; Mon, 12 Oct 1998 17:44:17 +0900 (JST)
	(envelope-from kiri@pis.toba-cmt.ac.jp)
To: ports-jp@jp.freebsd.org
In-Reply-To: Your message of "Sat, 10 Oct 1998 18:09:09 +0900"
	<361F2435.321FEE5B@sky.rim.or.jp>
References: <361F2435.321FEE5B@sky.rim.or.jp>
X-Mailer: Mew version 1.93 on XEmacs 20.4 (Emerald)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19981012174417T.kiri@pis.toba-cmt.ac.jp>
Date: Mon, 12 Oct 1998 17:44:17 +0900
From: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
X-Dispatcher: imput version 980905(IM100)
Lines: 53
Reply-To: ports-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: ports-jp 4815
Subject: [ports-jp 4815] Re: Can't set --sitelispdir in XEmacs!
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org

$B6M;3(B $B$G$9!#(B

$B!t$9$$$^$;$s$M$'(B Freeze $B$N?,$+$i%4%=%4%==P$7$F(B ...

$B$/$j$d$^(B $B$5$s!'(B
> ${PREFIX}/lib/xemacs-20.4/lisp:
> 
> $B$H$$$&(B ":" $B$NIU$$$?$o$1$N$o$+$i$J$$%G%#%l%/%H%j$,7!$i$l$F$7$^$&$h$&$G$9(B(
> $B$7$+$b:F5"E*$K$$$/$D$bF1$8$h$&$J%G%#%l%/%H%j$,$G$-$A$c$&(B)$B!#(B

$B$3$l$O!V:F5"E*!W$8$c$J$/$F!"C1$K(B ${sitelispdir} $B$r$=$N$^$^(B mkdir $B$7$F$$(B
$B$?$@$1$N$h$&$G$9!#(B $B$s$G(B xemacs-mule-common/patches/patch-ad $B$r0J2<$N$KCV(B
$B$-49$($F$$$?$@$/$H$"$j$,$?$$$G$9!#(B

--- Makefile.in.orig	Thu Feb 19 11:14:30 1998
+++ Makefile.in	Mon Oct 12 16:40:12 1998
@@ -155,6 +155,10 @@
 ## directories.
 sitelispdir=@sitelispdir@
 
+## This is set to 'yes' if the user specified the --lispdir or
+## --datadir flag at configuration time.
+sitelispdir_user_defined=@sitelispdir_user_defined@
+
 ## Where XEmacs will search for its lisp files while
 ## building.  This is only used during the process of
 ## compiling XEmacs, to help XEmacs find its lisp files
@@ -295,9 +299,9 @@
 	@cp ${srcdir}/src/paths.h.in src/paths.h.tmp
 	@-chmod 0644 src/paths.h.tmp
 	@(echo '#define PATH_PREFIX "${prefix}"'; \
-	 if test "${lispdir_user_defined}" = "yes"; \
-	   then echo    '#define PATH_LOADSEARCH "${lispdir}"'; \
-	   else echo '/* #define PATH_LOADSEARCH "${lispdir}" */'; \
+	 if test "${sitelispdir_user_defined}" = "yes"; \
+	   then echo    '#define PATH_LOADSEARCH "${sitelispdir}"'; \
+	   else echo '/* #define PATH_LOADSEARCH "${sitelispdir}" */'; \
 	 fi; \
 	 if test "${archlibdir_user_defined}" = "yes"; \
 	   then echo    '#define PATH_EXEC "${archlibdir}"'; \
@@ -485,7 +489,7 @@
 ## make-path instead of mkdir.  Not all mkdirs have the `-p' flag.
 mkdir: FRC.mkdir
 	${MAKEPATH} ${COPYDESTS} ${lockdir} ${infodir} ${archlibdir} \
-	  ${mandir} ${bindir} ${datadir} ${libdir} ${sitelispdir} ${pkgdir}
+	  ${mandir} ${bindir} ${datadir} ${libdir} ${sitelispdir:S@\:@ @g} ${pkgdir}
 	-chmod 0777 ${lockdir}
 
 ## Delete all the installed files that the `install' target would

---
KIRIYAMA Kazuhiko
kiri@pis.toba-cmt.ac.jp
