From owner-dev-commits-ports-main@freebsd.org Thu Jun 10 12:25:35 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 2B45B64AE2D; Thu, 10 Jun 2021 12:25:35 +0000 (UTC) (envelope-from git@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 4G138t6YLBz4dD4; Thu, 10 Jun 2021 12:25:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C959778A2; Thu, 10 Jun 2021 12:25:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15ACPYJt060033; Thu, 10 Jun 2021 12:25:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15ACPYh1060032; Thu, 10 Jun 2021 12:25:34 GMT (envelope-from git) Date: Thu, 10 Jun 2021 12:25:34 GMT Message-Id: <202106101225.15ACPYh1060032@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 0a618235c76d - main - biology/fasttree: fix build on powerpc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0a618235c76d379d40ae3087e19a8de0068c2221 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2021 12:25:35 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a618235c76d379d40ae3087e19a8de0068c2221 commit 0a618235c76d379d40ae3087e19a8de0068c2221 Author: Piotr Kubaj AuthorDate: 2021-06-10 12:25:31 +0000 Commit: Piotr Kubaj CommitDate: 2021-06-10 12:25:31 +0000 biology/fasttree: fix build on powerpc LLVM on powerpc doesn't have libomp. Same issue happens on armv6 and armv7 but someone has to test whether doing the same for those architectures is enough. --- biology/fasttree/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/biology/fasttree/Makefile b/biology/fasttree/Makefile index 30dd2cd31972..304ee4959939 100644 --- a/biology/fasttree/Makefile +++ b/biology/fasttree/Makefile @@ -16,6 +16,12 @@ BROKEN_armv7= fails to compile: FastTree-2.1.10.c:305:10: 'omp.h' file not foun NO_WRKSUBDIR= yes PLIST_FILES= bin/FastTree +.include + +.if ${ARCH} == powerpc +USES= compiler:gcc-c++11-lib +.endif + do-extract: @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC} @${CP} ${FILESDIR}/Makefile ${WRKSRC}