Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2013 20:33:46 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324202 - head/net/socat
Message-ID:  <201308032033.r73KXk1r057203@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sat Aug  3 20:33:45 2013
New Revision: 324202
URL: http://svnweb.freebsd.org/changeset/ports/324202

Log:
  Fix logic in clang detection.
  
  Notified by:	crees

Modified:
  head/net/socat/Makefile

Modified: head/net/socat/Makefile
==============================================================================
--- head/net/socat/Makefile	Sat Aug  3 19:53:52 2013	(r324201)
+++ head/net/socat/Makefile	Sat Aug  3 20:33:45 2013	(r324202)
@@ -37,7 +37,7 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 CCISCLANG!=	${CC} --version | ${HEAD} -1 | ${GREP} 'clang'
 .endif
 
-.if ${CC} == clang || defined(CCISCLANG)
+.if ${CC} == clang || !empty(CCISCLANG)
 CFLAGS+=	-Wno-unused-comparison
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308032033.r73KXk1r057203>