From owner-ports-jp@jp.freebsd.org  Sat Oct 10 23:32:50 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id XAA24379;
	Sat, 10 Oct 1998 23:32:50 +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 XAA24373
	for <ports-jp@jp.freebsd.org>; Sat, 10 Oct 1998 23:32:49 +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 XAA12056
	for <ports-jp@jp.freebsd.org>; Sat, 10 Oct 1998 23:32:48 +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 XAA05497 for <ports-jp@jp.freebsd.org>; Sat, 10 Oct 1998 23:32:47 +0900 (JST)
To: ports-jp@jp.freebsd.org
From: TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp>
In-Reply-To: Your message of "Sat, 10 Oct 1998 23:02:21 +0900"
	<19981010230221X.taoka@infonets.hiroshima-u.ac.jp>
References: <19981010230221X.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(Sat_Oct_10_23:32:42_1998_518)--"
Content-Transfer-Encoding: 7bit
Message-Id: <19981010233247J.taoka@infonets.hiroshima-u.ac.jp>
Date: Sat, 10 Oct 1998 23:32:47 +0900
X-Dispatcher: imput version 980905(IM100)
Lines: 60
Reply-To: ports-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: ports-jp 4791
Subject: [ports-jp 4791] Re: Can't set --sitelispdir in XEmacs!
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org

----Next_Part(Sat_Oct_10_23:32:42_1998_518)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit


> 
> > $B!!8=>u!#(B--sitelispdir $B$,$^$:$$$_$?$$!#(B
> >
> > $B$/$j$d$^(B // kuriyama@sky.rim.or.jp
> 
> $B$3$l$G$I$&$G$9$+!)(B
> 

$B$@$a$G$9$M!#(B""$B$G3g$i$J$$$H$$$1$J$$$N$G$7$g$&$+!)$G$bJQ$K3g$k$H%9%Z!<%9F~(B
$B$N$b$N$,$G$-$^$9$N$G!"$H$j$"$($:!"$3$A$i$G$O$I$&$G$7$g$&!)(B


----Next_Part(Sat_Oct_10_23:32:42_1998_518)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=patch-ad

--- Makefile.in.orig	Thu Feb 19 11:14:30 1998
+++ Makefile.in	Sat Oct 10 23:28:59 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,8 @@
 ## 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} ${pkgdir} \
+	  `echo ${sitelispdir} | sed 's/:/ /g'`
 	-chmod 0777 ${lockdir}
 
 ## Delete all the installed files that the `install' target would

----Next_Part(Sat_Oct_10_23:32:42_1998_518)----
