From owner-svn-ports-head@freebsd.org Fri Dec 4 15:22:36 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B357A41101; Fri, 4 Dec 2015 15:22:36 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 2C1221A8B; Fri, 4 Dec 2015 15:22:36 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB4FMZ6E068185; Fri, 4 Dec 2015 15:22:35 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB4FMZb1068183; Fri, 4 Dec 2015 15:22:35 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201512041522.tB4FMZb1068183@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Fri, 4 Dec 2015 15:22:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r402993 - in head/security: fastd fastd-devel 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.20 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: Fri, 04 Dec 2015 15:22:36 -0000 Author: rakuco Date: Fri Dec 4 15:22:34 2015 New Revision: 402993 URL: https://svnweb.freebsd.org/changeset/ports/402993 Log: fastd, fastd-devel: Disable mpclmul module on FreeBSD 9. This fixes the build on 9, which has failed ever since it was added to the tree. From the fallout logs: CMake Error at src/crypto/mac/ghash/pclmulqdq/CMakeLists.txt:9 (message): WITH_MAC_GHASH_PCLMULQDQ enabled, but there is no compiler support for -mpclmul This happens because GCC 4.2.1 in base (the default compiler) does not support the -mpcmul option. Fix it by disabling the module when on FreeBSD < 10 (i.e. when base GCC is the default compiler). PR 205017 PR: 205018 Approved by: Jan Bramkamp (maintainer) Modified: head/security/fastd-devel/Makefile head/security/fastd/Makefile Modified: head/security/fastd-devel/Makefile ============================================================================== --- head/security/fastd-devel/Makefile Fri Dec 4 15:03:12 2015 (r402992) +++ head/security/fastd-devel/Makefile Fri Dec 4 15:22:34 2015 (r402993) @@ -27,7 +27,14 @@ USE_RC_SUBR= fastd_devel PLIST_FILES= bin/fastd-devel \ man/man1/fastd-devel.1.gz +.include + +# GCC from base does not support -mpclmul. +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000024 +CMAKE_ARGS+= -DWITH_MAC_GHASH_PCLMULQDQ=FALSE +.endif + post-install: ${INSTALL_MAN} ${WRKSRC}/doc/fastd.1 ${STAGEDIR}${PREFIX}/man/man1/fastd-devel.1 -.include +.include Modified: head/security/fastd/Makefile ============================================================================== --- head/security/fastd/Makefile Fri Dec 4 15:03:12 2015 (r402992) +++ head/security/fastd/Makefile Fri Dec 4 15:22:34 2015 (r402993) @@ -22,7 +22,14 @@ USE_RC_SUBR= fastd PLIST_FILES= bin/fastd \ man/man1/fastd.1.gz +.include + +# GCC from base does not support -mpclmul. +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000024 +CMAKE_ARGS+= -DWITH_MAC_GHASH_PCLMULQDQ=FALSE +.endif + post-install: ${INSTALL_MAN} ${WRKSRC}/doc/fastd.1 ${STAGEDIR}${PREFIX}/man/man1 -.include +.include