1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11/qrash/files/patch-ab

37 lines
936 B
Plaintext
Raw Normal View History

--- configure.orig Wed Sep 24 11:50:18 1997
+++ configure Sun Oct 24 05:48:05 1999
@@ -9,7 +9,7 @@
echo "what CPU has your box inside?"
echo "1) i386-compatible"
echo "2) none of the above"
-read cpu
+cpu=1
case $cpu in
1) echo "CPU=_g" > options ;
echo "CXXFLAGS += -Di386" >> options ;;
@@ -32,13 +33,13 @@
echo "3) Vesa (dos only)"
#echo "4) Win32 DirectDraw"
#echo "5) OS/2 DIVE"
-read gfx
+gfx=2
case $gfx in
1) echo "GFX=vga" >> options ;
echo "LIBS += -lvga" >> options ;;
2) echo "GFX=x11" >> options ;
- echo "LIBS += -L/usr/X11/lib -lX11" >> options ;;
+ echo "LIBS += -L/usr/X11R6/lib -lX11" >> options ;;
3) echo "GFX=dos" >> options ;
echo "LIBS += -Lsvgakit -lsvga -lpmode -lztime" >> options ;;
@@ -68,7 +70,7 @@
echo "10) none of the above"
#echo "11) Win32"
#echo "12) OS/2"
-read snd
+snd=1
case $snd in
1) echo "CXXFLAGS += -DLINUX" >> options ;
echo "DRIVER=vox" >> options ;;