Date: Thu, 25 Dec 2014 13:29:29 +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: r375549 - head/security/nmap Message-ID: <201412251329.sBPDTTUk007910@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ohauer Date: Thu Dec 25 13:29:28 2014 New Revision: 375549 URL: https://svnweb.freebsd.org/changeset/ports/375549 QAT: https://qat.redports.org/buildarchive/r375549/ Log: - fix build on arm/mips PR: 196065 Submitted by: mikael.urankar Modified: head/security/nmap/Makefile Modified: head/security/nmap/Makefile ============================================================================== --- head/security/nmap/Makefile Thu Dec 25 13:26:41 2014 (r375548) +++ head/security/nmap/Makefile Thu Dec 25 13:29:28 2014 (r375549) @@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre -USES= tar:bzip2 gmake cpe +USES= tar:bzip2 gmake cpe compiler GNU_CONFIGURE= yes OPTIONS_SUB= yes @@ -54,8 +54,10 @@ CONFIGURE_ARGS+=--without-localdirs \ --with-liblua=included \ --without-nmap-update +.include <bsd.port.pre.mk> + # fix for gcc from ports -.if ${CC} != "cc" && ${CC} !="clang" && !${CC:M*ccache/cc} +.if ${CHOSEN_COMPILER_TYPE} == gcc GCCLIBDIR_CMDS= ${CC} -print-file-name=libstdc++.so | ${SED} -e 's/libstdc++.so//' CONFIGURE_ARGS+=LDFLAGS="-L$$(${GCCLIBDIR_CMDS})" NOT_BASE_CC= true @@ -81,4 +83,4 @@ post-install: @${ECHO_MSG} do not forget to adjust libnmap.conf .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412251329.sBPDTTUk007910>