From owner-svn-ports-head@FreeBSD.ORG Thu Dec 25 13:29:30 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 357A1A9D; Thu, 25 Dec 2014 13:29:30 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21A5833B5; Thu, 25 Dec 2014 13:29:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBPDTUfR007911; Thu, 25 Dec 2014 13:29:30 GMT (envelope-from ohauer@FreeBSD.org) Received: (from ohauer@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBPDTTUk007910; Thu, 25 Dec 2014 13:29:29 GMT (envelope-from ohauer@FreeBSD.org) Message-Id: <201412251329.sBPDTTUk007910@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ohauer set sender to ohauer@FreeBSD.org using -f From: Olli Hauer Date: Thu, 25 Dec 2014 13:29:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375549 - head/security/nmap X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 13:29:30 -0000 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 + # 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 +.include