From owner-ports-jp@jp.freebsd.org  Thu Oct  8 00:56:02 1998
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id AAA29122;
	Thu, 8 Oct 1998 00:56:02 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from zeisei3.dpri.kyoto-u.ac.jp (zeisei3.dpri.kyoto-u.ac.jp [133.3.32.3])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id AAA29117;
	Thu, 8 Oct 1998 00:56:00 +0900 (JST)
	(envelope-from nakaji@zeisei.dpri.kyoto-u.ac.jp)
Received: from localhost ([133.3.33.11])
	by zeisei3.dpri.kyoto-u.ac.jp (8.9.1a/8.9.1) with ESMTP id AAA19978;
	Thu, 8 Oct 1998 00:55:28 +0900 (JST)
To: FreeBSD98-testers@jp.freebsd.org, ports-jp@jp.freebsd.org
From: NAKAJI Hiroyuki <nakaji@zeisei.dpri.kyoto-u.ac.jp>
In-Reply-To: Your message of "Wed, 07 Oct 1998 10:44:26 +0900"
	<19981007104426X.nakaji@zeisei.dpri.kyoto-u.ac.jp>
References: <19981007104426X.nakaji@zeisei.dpri.kyoto-u.ac.jp>
X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Thu_Oct__8_00:54:45_1998_809)--"
Content-Transfer-Encoding: 7bit
Message-Id: <19981008005631K.nakaji@zeisei.dpri.kyoto-u.ac.jp>
Date: Thu, 08 Oct 1998 00:56:31 +0900
X-Dispatcher: imput version 980905(IM100)
Lines: 174
Reply-To: ports-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: ports-jp 4702
Subject: [ports-jp 4702] Re: Do you need XFree86-pc98 port?
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org

----Next_Part(Thu_Oct__8_00:54:45_1998_809)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit

$BCf<#$G$9!#(B
freebsd98-testers $B$H(B ports-jp $B$K=P$7$F$^$9!#(B

x11/XFree86 $B$KBP$9$k%Q%C%A$G$9!#(Bpc98 $B$G$O!"(BXF98_* $B$r:n$k$h$&$K$J$j$^$9!#(B
$BA4$F$N(B XF98_* $B$,:n$l$k$3$H$r3NG'$7$?$D$b$j$G$9$,!"%F%9%H$G$-$kJ}$O;n$7(B
$B$F$_$F2<$5$$!#(B

$B85$K$J$C$F$$$k$N$O!"(B

# New ports collection makefile for:    XFree86
# Version required:     3.3.2
# Date created:         5 January 1995
# Whom:                 jmz
#
# $Id: Makefile,v 1.46 1998/09/22 06:08:34 asami Exp $

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

----Next_Part(Thu_Oct__8_00:54:45_1998_809)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=XFree86-port-PC98.diff

diff -ru XFree86/Makefile XFree86-pc98/Makefile
--- XFree86/Makefile	Wed Sep 23 09:04:10 1998
+++ XFree86-pc98/Makefile	Sun Oct  4 15:35:04 1998
@@ -34,6 +34,9 @@
 # can't use USE_X_PREFIX here -- it will cause a circular dependency
 PREFIX=		${X11BASE}
 MTREE_FILE=	/etc/mtree/BSD.x11.dist
+.if (${MACHINE} == "pc98")
+SCRIPTS_ENV+=	MACHINE=pc98
+.endif
 
 .if defined(XDM_DES) && (${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO)
 pre-fetch:
diff -ru XFree86/pkg/PLIST XFree86-pc98/pkg/PLIST
--- XFree86/pkg/PLIST	Wed Sep 23 09:04:11 1998
+++ XFree86-pc98/pkg/PLIST	Sun Oct  4 14:30:46 1998
@@ -1,6 +1,7 @@
 bin/SuperProbe
 bin/X
 bin/XF86Setup
+bin/XF98Setup
 bin/XF86_8514
 bin/XF86_AGX
 bin/XF86_I128
@@ -14,6 +15,20 @@
 bin/XF86_SVGA
 bin/XF86_VGA16
 bin/XF86_W32
+bin/XF98_EGC
+bin/XF98_GA968
+bin/XF98_GANBWAP
+bin/XF98_MGA
+bin/XF98_NEC480
+bin/XF98_NECS3
+bin/XF98_NKVNEC
+bin/XF98_PWLB
+bin/XF98_PWSKB
+bin/XF98_SVGA
+bin/XF98_TGUI
+bin/XF98_WABEP
+bin/XF98_WABS
+bin/XF98_WSNA
 bin/Xmark
 bin/Xnest
 bin/Xprt
@@ -66,6 +81,7 @@
 bin/xdm
 bin/xdpyinfo
 bin/xf86config
+bin/xf98config
 bin/xfd
 bin/xfindproxy
 bin/xfs
@@ -404,8 +420,10 @@
 include/X11/keysym.h
 include/X11/keysymdef.h
 lib/X11/Cards
+lib/X11/Cards98
 lib/X11/XErrorDB
 lib/X11/XF86Config.eg
+lib/X11/XF86Config.98
 lib/X11/XF86Setup/LICENSE
 lib/X11/XF86Setup/card.tcl
 lib/X11/XF86Setup/carddata.tcl
diff -ru XFree86/scripts/configure XFree86-pc98/scripts/configure
--- XFree86/scripts/configure	Wed Sep 23 14:50:41 1998
+++ XFree86-pc98/scripts/configure	Sun Oct  4 14:30:02 1998
@@ -65,17 +65,39 @@
   echo "*** If you want to use XF86Setup to set the INITIAL configuration,"
   echo "*** then you must build the VGA server"
 fi
+# force the compilation of the EGC server for pc98.
+if [ X"${MACHINE}" = X"pc98" ]; then
+    echo "#define BuildPC98Servers	YES"  >>$F
+    echo "#undef XF98EGCServer"           >>$F
+    echo "#define XF98EGCServer     YES"  >>$F
+    servers="GA968 GANBWAP MGA NEC480 NECS3 NKVNEC PWLB PWSKB SVGA TGUI WABEP WABS WSNA"
+    selected=EGC
+    for i in $servers; do
+	yesno "Do you want to build the $i server? [YES] "
+	if [ $answ = YES ]; then selected="$selected $i"; fi
+	echo "#undef XF98${i}Server"           >>$F
+	echo "#define XF98${i}Server   $answ"  >>$F
+    done
+    echo "#undef XF86SVGAServer"           >>$F
+    echo "#define XF86SVGAServer     NO"  >>$F
+    servers="VGA16 VGA16Dual Mono MonoDual S3 S3V I8514 Mach8 Mach32 Mach64 P9000 AGX  W32 I128"
+    for i in $servers; do
+	echo "#undef XF86${i}Server"           >>$F
+    echo "#define XF86${i}Server   NO"  >>$F
+    done
+else
 # force the compilation of the SVGA server.
-echo "#undef XF86SVGAServer"           >>$F
-echo "#define XF86SVGAServer     YES"  >>$F
-servers="VGA16 VGA16Dual Mono MonoDual S3 S3V I8514 Mach8 Mach32 Mach64 P9000 AGX  W32 I128"
-selected=SVGA
-for i in $servers; do
-  yesno "Do you want to build the $i server? [YES] "
-  if [ $answ = YES ]; then selected="$selected $i"; fi
-  echo "#undef XF86${i}Server"           >>$F
-  echo "#define XF86${i}Server   $answ"  >>$F
-done
+    echo "#undef XF86SVGAServer"           >>$F
+    echo "#define XF86SVGAServer     YES"  >>$F
+    servers="VGA16 VGA16Dual Mono MonoDual S3 S3V I8514 Mach8 Mach32 Mach64 P9000 AGX  W32 I128"
+    selected=SVGA
+    for i in $servers; do
+	yesno "Do you want to build the $i server? [YES] "
+	if [ $answ = YES ]; then selected="$selected $i"; fi
+	echo "#undef XF86${i}Server"           >>$F
+	echo "#define XF86${i}Server   $answ"  >>$F
+    done
+fi
 
 echo
 ok=0
@@ -86,7 +108,11 @@
   if [ $answ != none ]; then
     for i in $selected; do if [ $i = $answ ]; then
       ok=1  
+      if [ X"${MACHINE}" = X"pc98" ]; then
+      echo "#define ServerToInstall		XF98_$answ" >>$F
+      else
       echo "#define ServerToInstall		XF86_$answ" >>$F
+      fi
       fi 
     done
   fi
@@ -96,6 +122,7 @@
 yesno "Do you want to build Xvfb? [YES] "
 echo "#define XVirtualFramebufferServer $answ" >>$F
 
+if [ X"${MACHINE}" != X"pc98" ]; then
 cat >> $F <<END
 #define XF86SvgaDrivers         nv et4000 et3000 pvga1 gvga ati sis tvga8900 \
                                 cirrus ncr77c22 compaq mga oak al2101 ali \
@@ -113,6 +140,7 @@
 #define XF86W32Drivers		et4000w32
 
 END
+fi
 
 cat <<END
 

----Next_Part(Thu_Oct__8_00:54:45_1998_809)----
