aboutsummaryrefslogtreecommitdiffstats
path: root/net/bittwist
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-04-24 15:20:37 +0800
committersem <sem@FreeBSD.org>2006-04-24 15:20:37 +0800
commit3ab72058a018455ec5f7601b03492ba6db79d5d5 (patch)
tree271d20e345f1e4fc5059b99aede02063582f219e /net/bittwist
parent57531122e33a4bfe2f19c84965d816ce652eee9b (diff)
downloadfreebsd-ports-gnome-3ab72058a018455ec5f7601b03492ba6db79d5d5.tar.gz
freebsd-ports-gnome-3ab72058a018455ec5f7601b03492ba6db79d5d5.tar.zst
freebsd-ports-gnome-3ab72058a018455ec5f7601b03492ba6db79d5d5.zip
- Respect user's CFLAGS and CC variables
Submitted by: kris
Diffstat (limited to 'net/bittwist')
-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