Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 04:38:33 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368003 - head/security/nmap
Message-ID:  <201409120438.s8C4cXwO069987@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Fri Sep 12 04:38:32 2014
New Revision: 368003
URL: http://svnweb.freebsd.org/changeset/ports/368003
QAT: https://qat.redports.org/buildarchive/r368003/

Log:
  - fix build with ccache on FreeBSD 10
  
  PR:		193478
  Submitted by:	dewayne @ heuristicsystems.com.au

Modified:
  head/security/nmap/Makefile

Modified: head/security/nmap/Makefile
==============================================================================
--- head/security/nmap/Makefile	Fri Sep 12 04:33:05 2014	(r368002)
+++ head/security/nmap/Makefile	Fri Sep 12 04:38:32 2014	(r368003)
@@ -55,7 +55,7 @@ CONFIGURE_ARGS+=--without-localdirs \
 		--without-nmap-update
 
 # fix for gcc from ports
-.if ${CC} != "cc" && ${CC} !="clang"
+.if ${CC} != "cc" && ${CC} !="clang" && !${CC:M*ccache/cc}
 GCCLIBDIR_CMDS=	${CC} -print-file-name=libstdc++.so | ${SED} -e 's/libstdc++.so//'
 CONFIGURE_ARGS+=LDFLAGS="-L$$(${GCCLIBDIR_CMDS})"
 NOT_BASE_CC=	true



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