diff options
author | kris <kris@FreeBSD.org> | 2003-10-23 08:01:04 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-10-23 08:01:04 +0800 |
commit | 47c45847ec49bb71a4cb984d65a7afb6bb8f75ee (patch) | |
tree | 93481e0fdaf90fec40d0da8c27d85cf83c7056e8 /graphics | |
parent | e05325eb70c801164f035d122c235e6ce8e60686 (diff) | |
download | freebsd-ports-gnome-47c45847ec49bb71a4cb984d65a7afb6bb8f75ee.tar.gz freebsd-ports-gnome-47c45847ec49bb71a4cb984d65a7afb6bb8f75ee.tar.zst freebsd-ports-gnome-47c45847ec49bb71a4cb984d65a7afb6bb8f75ee.zip |
Respect CC and CFLAGS
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/fly/files/patch-Makefile | 22 |
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 000000000000..f756894b3aba --- /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 |