summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>1999-04-11 12:47:04 +0000
committerkris <kris@FreeBSD.org>1999-04-11 12:47:04 +0000
commit3283ca67ebfb8a511219ae55c08d81e9228a9714 (patch)
tree50f3c3b5eef68c519d34bb3c944a26a0623ab579 /games
parent0284380f93d1e898e9d70cac1ce1f755ae5fc849 (diff)
downloadFreeBSD-ports-3283ca67ebfb8a511219ae55c08d81e9228a9714.zip
FreeBSD-ports-3283ca67ebfb8a511219ae55c08d81e9228a9714.tar.gz
Respect CC and CFLAGS.
Diffstat (limited to 'games')
-rw-r--r--games/pmars/files/patch-aa19
1 files changed, 14 insertions, 5 deletions
diff --git a/games/pmars/files/patch-aa b/games/pmars/files/patch-aa
index e781377..e203a92 100644
--- a/games/pmars/files/patch-aa
+++ b/games/pmars/files/patch-aa
@@ -1,11 +1,20 @@
---- makefile.orig Mon Feb 15 17:07:29 1999
-+++ makefile Mon Feb 15 17:07:39 1999
-@@ -15,11 +15,11 @@
+--- makefile.orig Fri Oct 27 06:37:29 1995
++++ makefile Sun Apr 11 20:36:53 1999
+@@ -1,6 +1,6 @@
+ # generic UNIX makefile
+ #CC = gcc # req. for linux
+-CC = cc # if you don't have gcc
++CC ?= cc # if you don't have gcc
+ # Configuration options:
+ #
+ # No. Name Incompatible with Description
+@@ -15,11 +15,12 @@
# (5) -DSMALLMEM 16-bit addresses, less memory
# (6) -DXWINGRAPHX 1 X-Windows graphics (UNIX)
-CFLAGS = -O -DEXT94
-+CFLAGS = -O -I/usr/X11R6/include -DEXT94 -DGRAPHX -DXWINGRAPHX
++CFLAGS ?= -O
++CFLAGS += -I/usr/X11R6/include -DEXT94 -DGRAPHX -DXWINGRAPHX
LFLAGS = -x
LIB = -lcurses -ltermlib # enable this one for curses display
# LIB = -lvgagl -lvga # enable this one for Linux/SVGA
@@ -14,7 +23,7 @@
.SUFFIXES: .o .c .c~ .man .doc .6
MAINFILE = pmars
-@@ -30,7 +30,7 @@
+@@ -30,7 +31,7 @@
OBJ2 = clparse.o global.o token.o
OBJ3 = str_eng.o
OpenPOWER on IntegriCloud