From owner-svn-ports-head@freebsd.org Fri Jun 21 11:15:09 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A95715D7674; Fri, 21 Jun 2019 11:15:09 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C42068BA7F; Fri, 21 Jun 2019 11:15:08 +0000 (UTC) (envelope-from linimon@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9810222720; Fri, 21 Jun 2019 11:15:08 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5LBF8hj087430; Fri, 21 Jun 2019 11:15:08 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5LBF8jI087429; Fri, 21 Jun 2019 11:15:08 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201906211115.x5LBF8jI087429@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Fri, 21 Jun 2019 11:15:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504785 - head/biology/gmap X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/biology/gmap X-SVN-Commit-Revision: 504785 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C42068BA7F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.964,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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, 21 Jun 2019 11:15:09 -0000 Author: linimon Date: Fri Jun 21 11:15:08 2019 New Revision: 504785 URL: https://svnweb.freebsd.org/changeset/ports/504785 Log: Enable workaround for building on powerpc64. Autoconf reports that HAVE_ASM_BSR is true (1). However, it's a false positive. I do not have enough knowledge of autoconf to fix this problem correctly, so fix src/config.h in post-configure. Patches welcome. A proper fix will most likely also fix the build on other tier-2 archs, but I have not taken the time to test that yet. Approved by: portmgr (tier-2 blanket) Modified: head/biology/gmap/Makefile Modified: head/biology/gmap/Makefile ============================================================================== --- head/biology/gmap/Makefile Fri Jun 21 11:04:10 2019 (r504784) +++ head/biology/gmap/Makefile Fri Jun 21 11:15:08 2019 (r504785) @@ -19,7 +19,6 @@ BROKEN_aarch64= invokes x86 assembler BROKEN_armv6= invokes x86 assembler BROKEN_armv7= invokes x86 assembler BROKEN_mips64= invokes x86 assembler -BROKEN_powerpc64= invokes x86 assembler BROKEN_sparc64= invokes x86 assembler USES= gmake perl5 @@ -31,10 +30,17 @@ OPTIONS_DEFINE= SIMD SIMD_CONFIGURE_OFF= --disable-builtin-popcount --disable-simd +.include + # shebang_fix operates during patch. # These scripts are created during configure. post-configure: ${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' \ ${WRKSRC}/Makefile ${WRKSRC}/util/*.pl +.if ${ARCH:Mpowerpc*} +# XXX MCL unknown why this shows up as true. knowledge of autoconf needed. + ${REINPLACE_CMD} -e 's|#define HAVE_ASM_BSR 1||' \ + ${WRKSRC}/src/config.h +.endif -.include +.include