Created attachment 147108 [details] Patch to add test for ccache The nmap Makefile explicitly tests ${CC} to be either cc or clang, otherwise additional stuff is added to the build. Unfortunately the test fails where ccache is used as ${CC} is /usr/local/libexec/ccache/cc (derived from cd /usr/ports/security/nmap && make -V CC) The attached patch fixes this anomaly, which strangely stopped our build on a 10.Stable (FreeBSD 10.1-PRERELEASE #0 r267757M) yesterday, but built packages on a 9.3Stable i386 and amd64. The ports and distfiles are shared (so they're identical). Another of life's little mysteries!
over to maintainer
A commit references this bug: Author: ohauer Date: Fri Sep 12 04:38:33 UTC 2014 New revision: 368003 URL: http://svnweb.freebsd.org/changeset/ports/368003 Log: - fix build with ccache on FreeBSD 10 PR: 193478 Submitted by: dewayne @ heuristicsystems.com.au Changes: head/security/nmap/Makefile
Committed, thanks for the patch!