aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-09-30 11:42:43 +0800
committercpiazza <cpiazza@FreeBSD.org>1999-09-30 11:42:43 +0800
commitbb0a01d3a0a1f2067ca1243b5e358ce403095bb4 (patch)
tree5be87acc36c3380371a260f2f2ce37b50e9df8a8 /games
parent852c6172bc3deec6ccd5d4922769968d4486640f (diff)
downloadfreebsd-ports-gnome-bb0a01d3a0a1f2067ca1243b5e358ce403095bb4.tar.gz
freebsd-ports-gnome-bb0a01d3a0a1f2067ca1243b5e358ce403095bb4.tar.zst
freebsd-ports-gnome-bb0a01d3a0a1f2067ca1243b5e358ce403095bb4.zip
Respect CC and CFLAGS
PR: 13851 Submitted by: Maxim Sobolev <sobomax@altavista.net>
Diffstat (limited to 'games')
-rw-r--r--games/xtris/files/patch-aa14
1 files changed, 9 insertions, 5 deletions
diff --git a/games/xtris/files/patch-aa b/games/xtris/files/patch-aa
index 716f4a6316b6..d263a62caa45 100644
--- a/games/xtris/files/patch-aa
+++ b/games/xtris/files/patch-aa
@@ -1,7 +1,11 @@
---- Makefile.orig Wed Apr 9 20:02:03 1997
-+++ Makefile Wed Sep 24 13:28:50 1997
-@@ -11,19 +11,19 @@
- CC = gcc
+--- Makefile.orig Sun Dec 14 20:43:35 1997
++++ Makefile Sun Aug 29 20:28:11 1999
+@@ -8,22 +8,22 @@
+ ###################
+
+ # change this to your favorite ANSI C compiler
+-CC = gcc
++CC? = gcc
# change this to the directory where you want the xtris binaries installed
-BINDIR = /usr/local/bin
@@ -13,7 +17,7 @@
# change according to taste and local custom...
-CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__
-+CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__ -I${PREFIX}/include
++CFLAGS += -D__USE_FIXED_PROTOTYPES__ -I${PREFIX}/include
# on Solaris and similar systems, you'll need to uncomment this:
# EXTRALIBS = -lnsl -lsocket