aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-04-24 15:20:37 +0800
committerSergey Matveychuk <sem@FreeBSD.org>2006-04-24 15:20:37 +0800
commitfc81cd00865ae6da4b42db4ad804a722648bbb81 (patch)
tree2195cf30e793fbed1cefcf2c4aad23a56df7bfff /net
parent6c70f37227966e621acbc282c48d278e407b9a6b (diff)
downloadfreebsd-ports-gnome-fc81cd00865ae6da4b42db4ad804a722648bbb81.tar.gz
freebsd-ports-gnome-fc81cd00865ae6da4b42db4ad804a722648bbb81.tar.zst
freebsd-ports-gnome-fc81cd00865ae6da4b42db4ad804a722648bbb81.zip
- Respect user's CFLAGS and CC variables
Submitted by: kris
Diffstat (limited to 'net')
-rw-r--r--net/bittwist/files/patch-Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/bittwist/files/patch-Makefile b/net/bittwist/files/patch-Makefile
new file mode 100644
index 000000000000..9f10c5b73c61
--- /dev/null
+++ b/net/bittwist/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig Thu Apr 13 22:58:48 2006
++++ Makefile Sat Apr 22 21:28:25 2006
+@@ -5,10 +5,11 @@
+ bindir = ${exec_prefix}/bin
+ mandir = ${prefix}/man/man1
+
+-CC = gcc
++CC ?= gcc
+ DEBUG = -g
+ #CFLAGS = -O2 -Wall $(DEBUG)
+-CFLAGS = -O2 $(DEBUG)
++CFLAGS ?= -O2
++CFLAGS += $(DEBUG)
+ SRC = src
+ DOC = doc