From owner-svn-ports-head@freebsd.org Sun Mar 28 16:39:25 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1FB9E57EED3; Sun, 28 Mar 2021 16:39:25 +0000 (UTC) (envelope-from pkubaj@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7hHx0Szhz4ppl; Sun, 28 Mar 2021 16:39:25 +0000 (UTC) (envelope-from pkubaj@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 02D38232B4; Sun, 28 Mar 2021 16:39:25 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12SGdOBR038826; Sun, 28 Mar 2021 16:39:24 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12SGdOFL038825; Sun, 28 Mar 2021 16:39:24 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202103281639.12SGdOFL038825@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sun, 28 Mar 2021 16:39:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r569399 - head/biology/vcflib X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/biology/vcflib X-SVN-Commit-Revision: 569399 X-SVN-Commit-Repository: ports 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.34 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: Sun, 28 Mar 2021 16:39:25 -0000 Author: pkubaj Date: Sun Mar 28 16:39:24 2021 New Revision: 569399 URL: https://svnweb.freebsd.org/changeset/ports/569399 Log: biology/vcflib: fix build on powerpc64le Use GCC for its SSE -> AltiVec translation: In file included from src/ssw.cpp:38: In file included from /usr/lib/clang/11.0.1/include/emmintrin.h:13: In file included from /usr/lib/clang/11.0.1/include/xmmintrin.h:13: /usr/lib/clang/11.0.1/include/mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? __builtin_ia32_emms(); Modified: head/biology/vcflib/Makefile Modified: head/biology/vcflib/Makefile ============================================================================== --- head/biology/vcflib/Makefile Sun Mar 28 14:28:34 2021 (r569398) +++ head/biology/vcflib/Makefile Sun Mar 28 16:39:24 2021 (r569399) @@ -44,6 +44,13 @@ CFLAGS_i386= -msse2 MAKEFILE= ${FILESDIR}/Makefile.external-libs INSTALL_TARGET= install-strip +.include + +.if ${ARCH} == powerpc64le +CFLAGS+= -DNO_WARN_X86_INTRINSICS +USES+= compiler:gcc-c++11-lib +.endif + post-install: ${RLN} ${STAGEDIR}${PREFIX}/lib/libvcflib.so.1 \ ${STAGEDIR}${PREFIX}/lib/libvcflib.so