aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1998-10-27 12:14:08 +0800
committerjmz <jmz@FreeBSD.org>1998-10-27 12:14:08 +0800
commit95a779d3bb3836b88d1877209b13ac6dac6b7164 (patch)
tree30d674a73ea498ed3a7e9cd53689568bd09873b2
parent7df860c22f441c5221cf75e71b44f7e0a4df9b98 (diff)
downloadfreebsd-ports-gnome-95a779d3bb3836b88d1877209b13ac6dac6b7164.tar.gz
freebsd-ports-gnome-95a779d3bb3836b88d1877209b13ac6dac6b7164.tar.zst
freebsd-ports-gnome-95a779d3bb3836b88d1877209b13ac6dac6b7164.zip
Add support for pc98 machines
PR: ports/8230 Submitted by: NAKAJI Hiroyuki <nakaji@zeisei3.dpri.kyoto-u.ac.jp>
-rw-r--r--x11-servers/XFree86-4-Server-snap/scripts/configure48
-rw-r--r--x11-servers/XFree86-4-Server/scripts/configure48
-rw-r--r--x11/XFree86-4-clients/scripts/configure48
-rw-r--r--x11/XFree86-4-libraries/scripts/configure48
-rw-r--r--x11/XFree86-4/scripts/configure48
-rw-r--r--x11/XFree86/scripts/configure48
6 files changed, 228 insertions, 60 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure
index 80ceb997fab7..529fb3d69b26 100644
--- a/x11-servers/XFree86-4-Server-snap/scripts/configure
+++ b/x11-servers/XFree86-4-Server-snap/scripts/configure
@@ -65,17 +65,39 @@ if [ X$tkversion != X ]; then
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 @@ while [ $ok != 1 ]; do
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 @@ echo
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 @@ cat >> $F <<END
#define XF86W32Drivers et4000w32
END
+fi
cat <<END
diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure
index 80ceb997fab7..529fb3d69b26 100644
--- a/x11-servers/XFree86-4-Server/scripts/configure
+++ b/x11-servers/XFree86-4-Server/scripts/configure
@@ -65,17 +65,39 @@ if [ X$tkversion != X ]; then
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 @@ while [ $ok != 1 ]; do
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 @@ echo
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 @@ cat >> $F <<END
#define XF86W32Drivers et4000w32
END
+fi
cat <<END
diff --git a/x11/XFree86-4-clients/scripts/configure b/x11/XFree86-4-clients/scripts/configure
index 80ceb997fab7..529fb3d69b26 100644
--- a/x11/XFree86-4-clients/scripts/configure
+++ b/x11/XFree86-4-clients/scripts/configure
@@ -65,17 +65,39 @@ if [ X$tkversion != X ]; then
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 @@ while [ $ok != 1 ]; do
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 @@ echo
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 @@ cat >> $F <<END
#define XF86W32Drivers et4000w32
END
+fi
cat <<END
diff --git a/x11/XFree86-4-libraries/scripts/configure b/x11/XFree86-4-libraries/scripts/configure
index 80ceb997fab7..529fb3d69b26 100644
--- a/x11/XFree86-4-libraries/scripts/configure
+++ b/x11/XFree86-4-libraries/scripts/configure
@@ -65,17 +65,39 @@ if [ X$tkversion != X ]; then
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 @@ while [ $ok != 1 ]; do
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 @@ echo
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 @@ cat >> $F <<END
#define XF86W32Drivers et4000w32
END
+fi
cat <<END
diff --git a/x11/XFree86-4/scripts/configure b/x11/XFree86-4/scripts/configure
index 80ceb997fab7..529fb3d69b26 100644
--- a/x11/XFree86-4/scripts/configure
+++ b/x11/XFree86-4/scripts/configure
@@ -65,17 +65,39 @@ if [ X$tkversion != X ]; then
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 @@ while [ $ok != 1 ]; do
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 @@ echo
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 @@ cat >> $F <<END
#define XF86W32Drivers et4000w32
END
+fi
cat <<END
diff --git a/x11/XFree86/scripts/configure b/x11/XFree86/scripts/configure
index 80ceb997fab7..529fb3d69b26 100644
--- a/x11/XFree86/scripts/configure
+++ b/x11/XFree86/scripts/configure
@@ -65,17 +65,39 @@ if [ X$tkversion != X ]; then
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 @@ while [ $ok != 1 ]; do
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 @@ echo
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 @@ cat >> $F <<END
#define XF86W32Drivers et4000w32
END
+fi
cat <<END