summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-10-23 00:01:04 +0000
committerkris <kris@FreeBSD.org>2003-10-23 00:01:04 +0000
commit47c45847ec49bb71a4cb984d65a7afb6bb8f75ee (patch)
tree93481e0fdaf90fec40d0da8c27d85cf83c7056e8 /graphics
parente05325eb70c801164f035d122c235e6ce8e60686 (diff)
downloadFreeBSD-ports-47c45847ec49bb71a4cb984d65a7afb6bb8f75ee.zip
FreeBSD-ports-47c45847ec49bb71a4cb984d65a7afb6bb8f75ee.tar.gz
Respect CC and CFLAGS
Diffstat (limited to 'graphics')
-rw-r--r--graphics/fly/files/patch-Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/fly/files/patch-Makefile b/graphics/fly/files/patch-Makefile
new file mode 100644
index 0000000..f756894
--- /dev/null
+++ b/graphics/fly/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- Makefile.orig Wed Oct 22 16:52:11 2003
++++ Makefile Wed Oct 22 16:53:04 2003
+@@ -5,15 +5,16 @@
+ # following line
+ # GD = /path/to/gd/directory
+ GD = gd1.3
+- CC = gcc
+- CFLAGS = -O -I$(GD)
++ CC ?= cc
++ CFLAGS ?= -O -pipe
++ CFLAGS += -I$(GD)
+ #CFLAGS = -O -pedantic -Wall -I$(GD)
+ LIBS = -L$(GD) -lgd -lm
+
+ all: gd fly
+
+ gd: $(GD)
+- cd $(GD); make CC=$(CC)
++ cd $(GD); make CC="$(CC)" CFLAGS="$(CFLAGS)"
+
+
+ fly.o: fly.c fly.h
OpenPOWER on IntegriCloud