aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2014-09-12 12:38:32 +0800
committerohauer <ohauer@FreeBSD.org>2014-09-12 12:38:32 +0800
commitf8acc6b1ffd0f1eff70276565e5981ae0f7e74d0 (patch)
tree4c1ebb68d7141ca965286c973633b9c966862403 /security
parentfc6fcfca8b378ffbce1c7597482d4733dc4cc4c0 (diff)
downloadfreebsd-ports-gnome-f8acc6b1ffd0f1eff70276565e5981ae0f7e74d0.tar.gz
freebsd-ports-gnome-f8acc6b1ffd0f1eff70276565e5981ae0f7e74d0.tar.zst
freebsd-ports-gnome-f8acc6b1ffd0f1eff70276565e5981ae0f7e74d0.zip
- fix build with ccache on FreeBSD 10
PR: 193478 Submitted by: dewayne @ heuristicsystems.com.au
Diffstat (limited to 'security')
-rw-r--r--security/nmap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index 04a7c2e70b85..00c06ff984f2 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -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