aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>1999-04-11 12:47:04 +0000
committerKris Kennaway <kris@FreeBSD.org>1999-04-11 12:47:04 +0000
commite684cec23ba82d233f0dd80a5e5c03e579ed8e06 (patch)
treef09d28f2b35183b79494694ec6c17d98a115a046 /games
parentb871445fa8d3398223d88416b8001ac7220667e7 (diff)
downloadports-e684cec23ba82d233f0dd80a5e5c03e579ed8e06.tar.gz
ports-e684cec23ba82d233f0dd80a5e5c03e579ed8e06.zip
Respect CC and CFLAGS.
Notes
Notes: svn path=/head/; revision=17780
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 e78137733e4e..e203a92b6e64 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