freebsd-ports/net/tcpproxy/files/patch-configure
Danilo Egea Gondolfo 643ae650a1 - Update from 1.0 to 1.1 [1]
- Remove the indefinite article from COMMENT
- Convert USE_GMAKE to USES
- Add stage support

PR:		ports/182788
Submitted by:	Alexander Hausner <alex@hugo.bmg.gv.at> (maintainer) [1]
Approved by:	wg/culot (mentors, implicit)
2013-10-07 18:44:30 +00:00

27 lines
578 B
Text

--- configure.orig 2013-10-07 13:59:48.000000000 +0200
+++ configure 2013-10-07 16:30:19.000000000 +0200
@@ -105,12 +105,12 @@
fi
if [ $USE_CLANG -eq 0 ]; then
- CFLAGS='-g -Wall -O2'
- LDFLAGS='-g -Wall -O2'
+ CFLAGS='${CFLAGS} -g -Wall -O2'
+ LDFLAGS='${LDFLAGS} -g -Wall -O2'
COMPILER='gcc'
else
- CFLAGS='-g -O2'
- LDFLAGS='-g -O2'
+ CFLAGS='${CFLAGS} -g -O2'
+ LDFLAGS='${LDFLAGS} -g -O2'
COMPILER='clang'
fi
@@ -151,7 +151,6 @@
# use ./configure instead
TARGET := $TARGET
-CC := $COMPILER
CFLAGS := $CFLAGS
LDFLAGS := $LDFLAGS
STRIP := strip