summaryrefslogtreecommitdiffstats
path: root/games/xbomber/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xbomber/files/patch-makefile')
-rw-r--r--games/xbomber/files/patch-makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/games/xbomber/files/patch-makefile b/games/xbomber/files/patch-makefile
new file mode 100644
index 0000000..d4e650e
--- /dev/null
+++ b/games/xbomber/files/patch-makefile
@@ -0,0 +1,28 @@
+--- makefile.orig Fri Jun 19 12:28:34 1998
++++ makefile Sat Aug 12 02:54:15 2000
+@@ -11,21 +11,21 @@
+
+ # Makefile user-definable variables------------------------------------------
+
+-CC=gcc
++CC?=gcc
+ MATHLIB=-lm
+-CFLAGS=-I/usr/X11/include
++CFLAGS+=-I${LOCALBASE}/include -DDATADIR=\"${PREFIX}/share/xbomber\"
+
+ # Change this to "touch" if your system doesn't have the "strip" command:
+ POSTPROCESS=strip
+
+ # 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${LOCALBASE}/lib -lX11 -lcompat
+
+ # End of makefile user-definable variables-----------------------------------
+
OpenPOWER on IntegriCloud