From owner-dev-commits-ports-all@freebsd.org Wed Jun 30 20:38:20 2021 Return-Path: Delivered-To: dev-commits-ports-all@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 561A464C652; Wed, 30 Jun 2021 20:38:20 +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 4GFY8D1sbsz3t4n; Wed, 30 Jun 2021 20:38:20 +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 280661385C; Wed, 30 Jun 2021 20:38:20 +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 15UKcK6g038732; Wed, 30 Jun 2021 20:38:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15UKcKVE038731; Wed, 30 Jun 2021 20:38:20 GMT (envelope-from git) Date: Wed, 30 Jun 2021 20:38:20 GMT Message-Id: <202106302038.15UKcKVE038731@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: 5985a22c6f1d - main - science/nest: 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: 5985a22c6f1dab6475a1258d3873d5d296502558 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2021 20:38:20 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=5985a22c6f1dab6475a1258d3873d5d296502558 commit 5985a22c6f1dab6475a1258d3873d5d296502558 Author: Piotr Kubaj AuthorDate: 2021-06-30 20:37:50 +0000 Commit: Piotr Kubaj CommitDate: 2021-06-30 20:37:50 +0000 science/nest: fix build on powerpc LLVM on powerpc doesn't have libomp. --- science/nest/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/science/nest/Makefile b/science/nest/Makefile index 29fa2aa073b1..ddd6eab25049 100644 --- a/science/nest/Makefile +++ b/science/nest/Makefile @@ -15,7 +15,7 @@ BROKEN_i386= https://github.com/nest/nest-simulator/issues/1205 LIB_DEPENDS= libgsl.so:math/gsl \ libltdl.so:devel/libltdl -USES= cmake compiler:c++11-lang ncurses pkgconfig readline +USES= cmake ncurses pkgconfig readline USE_GITHUB= yes GH_PROJECT= nest-simulator USE_LDCONFIG= yes @@ -31,4 +31,12 @@ PYTHON_CMAKE_ON= -DCYTHON_EXECUTABLE:STRING=${PREFIX}/bin/cython-${PYTHON_VER} PORTDOCS= * +.include + +.if ${ARCH} == powerpc +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++11-lang +.endif + .include