aboutsummaryrefslogtreecommitdiffstats
path: root/x11/XFree86/scripts
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1995-01-05 11:51:15 +0800
committerjmz <jmz@FreeBSD.org>1995-01-05 11:51:15 +0800
commitab1ba4f530807ee595c20af511bf586553501366 (patch)
tree10eee1ce197066a69ef08e7c3e87a8a02c806356 /x11/XFree86/scripts
parentf5fa37dccd928cc3712af570e73580f4f71a6cb4 (diff)
downloadfreebsd-ports-gnome-ab1ba4f530807ee595c20af511bf586553501366.tar.gz
freebsd-ports-gnome-ab1ba4f530807ee595c20af511bf586553501366.tar.zst
freebsd-ports-gnome-ab1ba4f530807ee595c20af511bf586553501366.zip
This is X11R6/XFree86 3.1
The actual makefile does nothing! You have to edit it and remove a comment to build the beast. Note: there are in fact 2 makefiles: one which fetches the files from ftp.x.org and another which allows to compile from a cdrom. Note2: I have not extensively tested the port! (only one build!)
Diffstat (limited to 'x11/XFree86/scripts')
-rw-r--r--x11/XFree86/scripts/configure30
1 files changed, 30 insertions, 0 deletions
diff --git a/x11/XFree86/scripts/configure b/x11/XFree86/scripts/configure
new file mode 100644
index 000000000000..b5783adfa5a4
--- /dev/null
+++ b/x11/XFree86/scripts/configure
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+cd $WRKSRC/config/cf/ || exit 1;
+cat >> xf86site.def << EOF
+#define XF86SvgaDrivers et4000 et3000 pvga1 gvga ati tvga8900 cirrus \
+ ncr77c22 compaq oak mx al2101 cl6420 \
+ video7 generic
+
+#define XF86Vga16Drivers et4000 ncr77c22 ati tvga8900 oak cl6420 generic
+
+#define XF86Vga2Drivers et4000 et3000 pvga1 gvga ati tvga8900 cirrus \
+ ncr77c22 compaq oak cl6420 generic
+ *
+#define XF86MonoDrivers hgc1280 sigma apollo hercules
+
+#define XF86W32Drivers et4000w32
+
+EOF
+
+version=`uname -r`
+set `echo $version|sed -e 's/\./ /g' -e 's/-/ /g'`
+mv FreeBSD.cf FreeBSD.cf.old
+sed -e "s/1.1.5/$version/" \
+ -e "s/OSMajorVersion *1/OSMajorVersion $1/" \
+ -e "s/OSMinorVersion *1/OSMinorVersion $2/" \
+ -e "s/OSTeenyVersion *5/OSTeenyVersion $3/" \
+ <FreeBSD.cf.old >FreeBSD.cf
+#you may change ExtraLibraries too!
+exit 0
+