aboutsummaryrefslogtreecommitdiff
path: root/x11-servers
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-07-27 14:27:34 +0000
committerSteve Price <steve@FreeBSD.org>1999-07-27 14:27:34 +0000
commit3f9c2051b028b9f67b4acaf027a9eebc778f28d1 (patch)
tree36db9d8dc5584ec61020dd625073bd5caf802c6f /x11-servers
parentf5e9f6bfe87545829bb6c1d6970cbd571c006ab1 (diff)
downloadports-3f9c2051b028b9f67b4acaf027a9eebc778f28d1.tar.gz
ports-3f9c2051b028b9f67b4acaf027a9eebc778f28d1.zip
Notes
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/XFree86-4-Server-snap/Makefile6
-rw-r--r--x11-servers/XFree86-4-Server-snap/scripts/configure25
-rw-r--r--x11-servers/XFree86-4-Server/Makefile6
-rw-r--r--x11-servers/XFree86-4-Server/scripts/configure25
4 files changed, 58 insertions, 4 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile
index 794220f3be48..cccdc7d236e8 100644
--- a/x11-servers/XFree86-4-Server-snap/Makefile
+++ b/x11-servers/XFree86-4-Server-snap/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 January 1995
# Whom: jmz
#
-# $Id: Makefile,v 1.55 1999/07/20 22:14:55 jmz Exp $
+# $Id: Makefile,v 1.56 1999/07/20 23:42:28 asami Exp $
#
DISTNAME= xc
@@ -33,6 +33,10 @@ MTREE_FILE= /etc/mtree/BSD.x11.dist
SCRIPTS_ENV+= MACHINE=pc98
PLIST= ${PKGDIR}/PLIST.pc98
.endif
+.if (${MACHINE} == "alpha")
+SCRIPTS_ENV+= MACHINE=alpha
+PLIST= ${PKGDIR}/PLIST.alpha
+.endif
.if defined(XDM_DES) && (${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO)
pre-fetch:
diff --git a/x11-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure
index 7b0dd6664444..e19c0c5e5310 100644
--- a/x11-servers/XFree86-4-Server-snap/scripts/configure
+++ b/x11-servers/XFree86-4-Server-snap/scripts/configure
@@ -101,6 +101,18 @@ if [ X"${MACHINE}" = X"pc98" ]; then
echo "#undef XF86${i}Server" >>$F
echo "#define XF86${i}Server NO" >>$F
done
+elif [ X"${MACHINE}" = X"alpha" ]; then
+# force the compilation of the SVGA server.
+ echo "#undef XF86SVGAServer" >>$F
+ echo "#define XF86SVGAServer YES" >>$F
+ servers="Mono S3 S3V Mach64 P9000 I128 GLINT TGA"
+ selected=SVGA
+ for i in $servers; do
+ yesno "Do you want to build the $i server?"
+ if [ $answ = YES ]; then selected="$selected $i"; fi
+ echo "#undef XF86${i}Server" >>$F
+ echo "#define XF86${i}Server $answ" >>$F
+ done
else
# force the compilation of the SVGA server.
echo "#undef XF86SVGAServer" >>$F
@@ -139,6 +151,13 @@ yesno "Do you want to build Xvfb?"
echo "#define XVirtualFramebufferServer $answ" >>$F
if [ X"${MACHINE}" != X"pc98" ]; then
+if [ X"${MACHINE}" = X"alpha" ]; then
+cat >> $F <<END
+#define XF86SvgaDrivers nv mga s3v generic
+
+#define XF86MonoDrivers hgc1280 sigma apollo hercules
+END
+else
cat >> $F <<END
#define XF86SvgaDrivers nv et4000 et3000 pvga1 gvga ati sis tvga8900 \
cirrus ncr77c22 compaq mga oak al2101 ali \
@@ -158,6 +177,8 @@ cat >> $F <<END
END
fi
+fi
+
cat <<END
@@ -199,7 +220,9 @@ if [ $answ = NO ]; then
echo "#undef BuildXInputExt" >> $F
echo "#define BuildXInputExt NO" >> $F
else
- echo "#define JoystickSupport YES" >> $F
+ if [ X${MACHINE} != X"alpha" ]; then
+ echo "#define JoystickSupport YES" >> $F
+ fi
fi
yesno "Build PEX?"
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile
index 794220f3be48..cccdc7d236e8 100644
--- a/x11-servers/XFree86-4-Server/Makefile
+++ b/x11-servers/XFree86-4-Server/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 January 1995
# Whom: jmz
#
-# $Id: Makefile,v 1.55 1999/07/20 22:14:55 jmz Exp $
+# $Id: Makefile,v 1.56 1999/07/20 23:42:28 asami Exp $
#
DISTNAME= xc
@@ -33,6 +33,10 @@ MTREE_FILE= /etc/mtree/BSD.x11.dist
SCRIPTS_ENV+= MACHINE=pc98
PLIST= ${PKGDIR}/PLIST.pc98
.endif
+.if (${MACHINE} == "alpha")
+SCRIPTS_ENV+= MACHINE=alpha
+PLIST= ${PKGDIR}/PLIST.alpha
+.endif
.if defined(XDM_DES) && (${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO)
pre-fetch:
diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure
index 7b0dd6664444..e19c0c5e5310 100644
--- a/x11-servers/XFree86-4-Server/scripts/configure
+++ b/x11-servers/XFree86-4-Server/scripts/configure
@@ -101,6 +101,18 @@ if [ X"${MACHINE}" = X"pc98" ]; then
echo "#undef XF86${i}Server" >>$F
echo "#define XF86${i}Server NO" >>$F
done
+elif [ X"${MACHINE}" = X"alpha" ]; then
+# force the compilation of the SVGA server.
+ echo "#undef XF86SVGAServer" >>$F
+ echo "#define XF86SVGAServer YES" >>$F
+ servers="Mono S3 S3V Mach64 P9000 I128 GLINT TGA"
+ selected=SVGA
+ for i in $servers; do
+ yesno "Do you want to build the $i server?"
+ if [ $answ = YES ]; then selected="$selected $i"; fi
+ echo "#undef XF86${i}Server" >>$F
+ echo "#define XF86${i}Server $answ" >>$F
+ done
else
# force the compilation of the SVGA server.
echo "#undef XF86SVGAServer" >>$F
@@ -139,6 +151,13 @@ yesno "Do you want to build Xvfb?"
echo "#define XVirtualFramebufferServer $answ" >>$F
if [ X"${MACHINE}" != X"pc98" ]; then
+if [ X"${MACHINE}" = X"alpha" ]; then
+cat >> $F <<END
+#define XF86SvgaDrivers nv mga s3v generic
+
+#define XF86MonoDrivers hgc1280 sigma apollo hercules
+END
+else
cat >> $F <<END
#define XF86SvgaDrivers nv et4000 et3000 pvga1 gvga ati sis tvga8900 \
cirrus ncr77c22 compaq mga oak al2101 ali \
@@ -158,6 +177,8 @@ cat >> $F <<END
END
fi
+fi
+
cat <<END
@@ -199,7 +220,9 @@ if [ $answ = NO ]; then
echo "#undef BuildXInputExt" >> $F
echo "#define BuildXInputExt NO" >> $F
else
- echo "#define JoystickSupport YES" >> $F
+ if [ X${MACHINE} != X"alpha" ]; then
+ echo "#define JoystickSupport YES" >> $F
+ fi
fi
yesno "Build PEX?"