1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/games/xbomber/files/patch-aa
Ade Lovett 7d9d46445f Support CC/CFLAGS/X11BASE/PREFIX properly
Change location of data files from lib/ to share/

PR:		21612
Submitted by:	Ports Fury
2000-10-13 20:25:19 +00:00

29 lines
745 B
Plaintext

--- 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${X11BASE}/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${X11BASE}/lib -lX11 -lcompat
# End of makefile user-definable variables-----------------------------------