aboutsummaryrefslogtreecommitdiff
path: root/net/socat
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-08-04 15:57:40 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-08-04 15:57:40 +0000
commitdc560803743de9b0365e539b3b4798251e3d4840 (patch)
tree8c74ca66e7869fb61d35495d6f566002c608ade2 /net/socat
parent0188d731801b12805eca8dff7b0af3710de09269 (diff)
downloadports-dc560803743de9b0365e539b3b4798251e3d4840.tar.gz
ports-dc560803743de9b0365e539b3b4798251e3d4840.zip
Notes
Diffstat (limited to 'net/socat')
-rw-r--r--net/socat/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/socat/Makefile b/net/socat/Makefile
index 81cc7f7f9d51..307017f3ae7e 100644
--- a/net/socat/Makefile
+++ b/net/socat/Makefile
@@ -33,11 +33,9 @@ CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.endif
-.if(${OSVERSION} >= 1000024)
-CCISCLANG!= ${CC} --version | ${HEAD} -1 | ${GREP} 'clang'
-.endif
+CCISCLANG!= ${CC} --version
-.if ${CC} == clang || !empty(CCISCLANG)
+.if !empty(CCISCLANG:M*clang*)
CFLAGS+= -Wno-unused-comparison
.endif