summaryrefslogtreecommitdiff
path: root/games/xbomber/files/patch-aa
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-10-13 20:25:19 +0000
committerAde Lovett <ade@FreeBSD.org>2000-10-13 20:25:19 +0000
commit7d9d46445f3e374f470acffb2fd11beb3758605a (patch)
tree0e98334dfdda04db4be2272baeb652dc3c343dfb /games/xbomber/files/patch-aa
parentSupport X11BASE/PREFIX properly (diff)
Support CC/CFLAGS/X11BASE/PREFIX properly
Change location of data files from lib/ to share/ PR: 21612 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=33788
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-----------------------------------