From owner-ports-jp@jp.freebsd.org  Sat Oct 10 23:02:25 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id XAA22361;
	Sat, 10 Oct 1998 23:02:25 +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 XAA22355
	for <ports-jp@jp.freebsd.org>; Sat, 10 Oct 1998 23:02:23 +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 XAA11684
	for <ports-jp@jp.freebsd.org>; Sat, 10 Oct 1998 23:02:22 +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 XAA03104 for <ports-jp@jp.freebsd.org>; Sat, 10 Oct 1998 23:02:22 +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 21:35:39 +0900"
	<361F549B.A1E4E38F@sky.rim.or.jp>
References: <361F549B.A1E4E38F@sky.rim.or.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:02:08_1998_809)--"
Content-Transfer-Encoding: 7bit
Message-Id: <19981010230221X.taoka@infonets.hiroshima-u.ac.jp>
Date: Sat, 10 Oct 1998 23:02:21 +0900
X-Dispatcher: imput version 980905(IM100)
Lines: 57
Reply-To: ports-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: ports-jp 4790
Subject: [ports-jp 4790] 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:02:08_1998_809)--
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


----Next_Part(Sat_Oct_10_23:02:08_1998_809)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: patch-ad
Content-Disposition: attachment; filename=patch-ad

--- Makefile.in.orig	Sat Oct 10 22:41:48 1998
+++ Makefile.in	Sat Oct 10 22:58:14 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}"'; \
@@ -484,8 +488,9 @@
 ## (e.g. /usr/local/lib/xemacs-20.5/sparc-sun-solaris2.6), we use
 ## make-path instead of mkdir.  Not all mkdirs have the `-p' flag.
 mkdir: FRC.mkdir
+	tmp_sitelispdir=`echo ${sitelispdir} | sed 's/:/ /g''`; \
 	${MAKEPATH} ${COPYDESTS} ${lockdir} ${infodir} ${archlibdir} \
-	  ${mandir} ${bindir} ${datadir} ${libdir} ${sitelispdir} ${pkgdir}
+	  ${mandir} ${bindir} ${datadir} ${libdir} ${tmp_sitelispdir} ${pkgdir}
 	-chmod 0777 ${lockdir}
 
 ## Delete all the installed files that the `install' target would

----Next_Part(Sat_Oct_10_23:02:08_1998_809)----
