aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpproxy
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2011-05-13 06:20:02 +0800
committerwxs <wxs@FreeBSD.org>2011-05-13 06:20:02 +0800
commit9568e3bfaba4d8cffbfe8853098dd49b8cb269c0 (patch)
tree1445564a53ab2963ebca1a0ed989aa439d52fd78 /net/tcpproxy
parenta2a7e595ebcca0c60da65763eab77be555f29b38 (diff)
downloadfreebsd-ports-graphics-9568e3bfaba4d8cffbfe8853098dd49b8cb269c0.tar.gz
freebsd-ports-graphics-9568e3bfaba4d8cffbfe8853098dd49b8cb269c0.tar.zst
freebsd-ports-graphics-9568e3bfaba4d8cffbfe8853098dd49b8cb269c0.zip
Respect CFLAGS and friends.
PR: ports/156829 Submitted by: Alexander Hausner <alex@hugo.bmg.gv.at> (maintainer)
Diffstat (limited to 'net/tcpproxy')
-rw-r--r--net/tcpproxy/Makefile1
-rw-r--r--net/tcpproxy/files/patch-configure13
2 files changed, 14 insertions, 0 deletions
diff --git a/net/tcpproxy/Makefile b/net/tcpproxy/Makefile
index 21573bd6e60..e61a959c2b2 100644
--- a/net/tcpproxy/Makefile
+++ b/net/tcpproxy/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tcpproxy
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.spreadspace.org/tcpproxy/releases/ \
http://alex.bmg.gv.at/programs/
diff --git a/net/tcpproxy/files/patch-configure b/net/tcpproxy/files/patch-configure
new file mode 100644
index 00000000000..c132408e027
--- /dev/null
+++ b/net/tcpproxy/files/patch-configure
@@ -0,0 +1,13 @@
+--- configure.org 2011-05-04 20:30:40.000000000 +0200
++++ configure 2011-05-04 20:31:06.000000000 +0200
+@@ -29,8 +29,8 @@
+ TARGET=`uname -s`
+ EBUILD_COMPAT=0
+
+-CFLAGS='-g -O2'
+-LDFLAGS='-g -Wall -O2'
++CFLAGS="${CFLAGS} -g -O2"
++LDFLAGS="${LDFLAGS} -g -Wall -O2"
+
+ PREFIX='/usr/local'
+ BINDIR=''