From owner-FreeBSD-users-jp@jp.freebsd.org  Sun Aug 10 14:37:09 1997
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta5/8.7.3) id OAA29858
	Sun, 10 Aug 1997 14:37:09 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta5/8.7.3) with ESMTP id OAA29828
	Sun, 10 Aug 1997 14:37:05 +0900 (JST)
Received: from kiri.toba-cmt.ac.jp (localhost [127.0.0.1])
	by kiri.toba-cmt.ac.jp (8.8.5/8.8.5) with ESMTP id OAA16392;
	Sun, 10 Aug 1997 14:38:44 +0900 (JST)
Message-Id: <199708100538.OAA16392@kiri.toba-cmt.ac.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org, ports-jp@jp.FreeBSD.org
From: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
In-Reply-To: Your message of "Sat, 09 Aug 1997 23:42:43 +0900"
References: <199708091442.XAA16316@odin.sat.t.u-tokyo.ac.jp>
X-Mailer: Mew version 1.70 on Emacs 19.28.1 / Mule 2.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Date: Sun, 10 Aug 1997 14:38:43 +0900
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=20]
X-Sequence: FreeBSD-users-jp 16853
Subject: [FreeBSD-users-jp 16853] Re: Netscape v402b7 
	=?ISO-2022-JP?B?GyRCJE5GfEtcOGxJPTwoGyhC?=
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

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

Message-ID: <199708091442.XAA16316@odin.sat.t.u-tokyo.ac.jp> $B$N5-;v$K$F(B
Hideyuki Suzuki <hideyuki@sat.t.u-tokyo.ac.jp> $B$5$s$O=q$+$l$^$7$?(B :

> 
> $B;d$N$H$3$m$G$b$=$&$G$9!#(Bports $B$+$i%$%s%9%H!<%k$7$?$N$G$9$,!$(B
> $B$3$s$J5-=R$,$"$j$^$7$?!#(B
:
> Note: If netscape hangs on startup eating all CPU time, find
> user_pref("browser.startup.license_accepted", ...); line in your
> ~/.netscape/preferences.js and move it to the end of the file or
> remove it, if previous not helps.
> Don't forget to report this bug to Netscape Team.

"move it to the end of the file"$B$8$c%@%a$G$9$M!#(B

> $B7k6I(B script $B$G$3$N9T$r:o$C$F5/F0$9$k$h$&$K$7$F$7$^$$$^$7$?!#(B(;_;)

$B$H$$$&$3$H$G6[5^%Q%C%A$G$9!#(B

diff -aurN ../../current/ports/www/netscape4/Makefile ./Makefile
--- ../../current/ports/www/netscape4/Makefile	Sat Aug  9 16:17:57 1997
+++ ./Makefile	Sun Aug 10 14:27:32 1997
@@ -20,6 +20,13 @@
 
 RESTRICTED=	"Commercial software"
 
+do-configure:
+	@${SED} -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \
+		-e "s;@GREP@;${GREP};g" -e "s;@CP@;${CP};g" \
+		-e "s;@SED@;${SED};g" \
+		${FILESDIR}/netscape.sh >${WRKSRC}/netscape
+	@${CHMOD} +x ${WRKSRC}/netscape
+
 do-install:
 	cd ${WRKSRC} && yes "" | \
 	    LC_TIME=C MOZILLA_HOME="${NDIR}" ./ns-install
diff -aurN ../../current/ports/www/netscape4/files/netscape.sh ./files/netscape.sh
--- ../../current/ports/www/netscape4/files/netscape.sh	Sat Aug  9 16:17:57 1997
+++ ./files/netscape.sh	Sun Aug 10 14:11:58 1997
@@ -1,4 +1,16 @@
 #!/bin/sh
+
+GREP=${GREP:-@GREP@}
+CP=${CP:-@CP@}
+SED=${SED:-@SED@}
+
+if [ "`${GREP} -v '^user_pref("browser.startup.license_accepted",' \
+	~/.netscape/preferences.js`" ]; then
+	${CP} ~/.netscape/preferences.js ~/.netscape/preferences.js.bak
+	${SED} -e '/^user_pref("browser\.startup\.license_accepted",/d' \
+		< ~/.netscape/preferences.js.bak \
+		> ~/.netscape/preferences.js
+fi
 export MOZILLA_HOME; MOZILLA_HOME=${MOZILLA_HOME:=@PREFIX@/lib/netscape}
 export CLASSPATH ; CLASSPATH=.:$MOZILLA_HOME
 exec $MOZILLA_HOME/netscape.bin $*
diff -aurN ../../current/ports/www/netscape4/scripts/configure ./scripts/configure
--- ../../current/ports/www/netscape4/scripts/configure	Fri Apr 11 21:20:52 1997
+++ ./scripts/configure	Thu Jan  1 09:00:00 1970
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-sed -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \
-	${FILESDIR}/netscape.sh >${WRKSRC}/netscape
-chmod +x ${WRKSRC}/netscape
-

$B$^$?!"(B
ftp://ports.jp.freebsd.org/pub/incoming/ports-jp/www/port-netscape-4.02b7.tar.gz 
$B$r3NG'$;$:$KFM9~$s$I$-$^$7$?$,$h$m$7$$$G$7$g$&$+!)(B > $B;0J?$5$s(B
------------------------------------------------------------------------
$B6M;3OBI'(B <kiri@kiri.toba-cmt.ac.jp>                 $BD;1)>&A%9bEy@lLg3X9;(B
                                                          $BEE;R5!3#9)3X2J(B
