summaryrefslogtreecommitdiff
path: root/games/xbomber/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'games/xbomber/files/patch-aa')
-rw-r--r--games/xbomber/files/patch-aa22
1 files changed, 15 insertions, 7 deletions
diff --git a/games/xbomber/files/patch-aa b/games/xbomber/files/patch-aa
index 319ca86481df..f2dcd11cb46d 100644
--- a/games/xbomber/files/patch-aa
+++ b/games/xbomber/files/patch-aa
@@ -1,20 +1,28 @@
---- makefile.orig Sun Jun 28 05:00:06 1998
-+++ makefile Sun Jun 28 05:01:25 1998
-@@ -13,7 +13,7 @@
+--- makefile.orig Fri Jun 19 12:28:34 1998
++++ makefile Sat Aug 12 02:54:15 2000
+@@ -11,21 +11,21 @@
- CC=gcc
+ # Makefile user-definable variables------------------------------------------
+
+-CC=gcc
++CC?=gcc
MATHLIB=-lm
-CFLAGS=-I/usr/X11/include
-+CFLAGS=-I/usr/X11R6/include
++CFLAGS+=-I${X11BASE}/include -DDATADIR=\"${PREFIX}/share/xbomber\"
# Change this to "touch" if your system doesn't have the "strip" command:
POSTPROCESS=strip
-@@ -25,7 +25,7 @@
+
+ # adjust according to target
+-XLIB=-L/usr/X11/lib -lX11
++#XLIB=-L/usr/X11/lib -lX11
+
+ # uncomment for sunos/solaris
#XLIB=-L/usr/openwin/lib -lX11
# uncomment for FreeBSD
-#XLIB=-L /usr/X11R6/lib -lX11 -lcompat
-+XLIB=-L /usr/X11R6/lib -lX11 -lcompat
++XLIB=-L${X11BASE}/lib -lX11 -lcompat
# End of makefile user-definable variables-----------------------------------