From nobody Wed Apr 27 13:39:55 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 078DC1AB7A8D; Wed, 27 Apr 2022 13:39:56 +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 4KpKcW5Cd8z4rFn; Wed, 27 Apr 2022 13:39:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651066795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4FaFhr4jbMVH5zISHF074xMDxSDMIjzSAshFe5i5d2I=; b=wq90snhFw2qc8xqfvFEU/E29sv1fVaCdz8PWfbVCxMasLIrXrq77HmdSPrGu254TtlhV1Z +O7w7ukHNZ+8MRvfFODSaljS+yblO/VEQSoD2b62uIJ1Cor/0FWqG/6HUcIiixHYTTMNiY yrMc02RoTIa62XZ7nAtnsnMDVbQyGLlBuIr31mdsoTuXGvPR61gJKcy9TSYSknYG5SOvhF AOzDcVjCj/zRYbC2nZnq4k3JyYaip8kHGWA/j/BwzJDtekIL+sVxP++h0HOca0VTve/nfa 6yh412cOqrnCdF3nFDD1Iv9hlSDZ5gWRsv/UwzOmc+6+s5ENzg92lZCmWcKglA== 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 62D3B24EA5; Wed, 27 Apr 2022 13:39:55 +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 23RDdti0071184; Wed, 27 Apr 2022 13:39:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23RDdtZs071183; Wed, 27 Apr 2022 13:39:55 GMT (envelope-from git) Date: Wed, 27 Apr 2022 13:39:55 GMT Message-Id: <202204271339.23RDdtZs071183@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: 050742c01873 - main - math/muparser: disable OpenMP on architectures lacking omp.h List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org 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: 050742c0187371c5c54876c7bd047ee9d55fc206 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651066795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4FaFhr4jbMVH5zISHF074xMDxSDMIjzSAshFe5i5d2I=; b=wfHKjxfvURvPwBD89ZGRF1GkHqTZxFzRU8CKiuJo2yDGJyM4E61P5WarGfCX/n79lZ+m07 IyFB3qoE7Ht62WolL8hSL/22VluYWJrKNSLkmrbpZDJ/uIWhBpctydnbb+drewhaoHjMtI +KCtPm+R8LpqTPLbLEm0i9bKWQ1EwWa0NVLhR6qSHhLRBPQNzFtJow1AJSk8HOfcf01KYa P+7wfv5I995dvbNugxqOdM9HTmy6IyZGnlaKlNJZshcQ2q3yimICKMiE+sgL30+ZCmCmyA mAvWP+8smW720a87dUmjLdbqp7vjP1aWRhZeemOd/ywFikzNd4/J6LpXpQ6n4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651066795; a=rsa-sha256; cv=none; b=U+1IlMqyXimu3F8IdXTb0+kPMTCl8cC/VuLG8xpOlpN1rTM8UmRTRXYidHrB9BSrhG1SnK 5tjHCLySwUlO00x2uRw2BA9JeEmCsZUEQjSIQmZzUaXhlhrWkOmQEyKluc2IBjY6oN04+z hiANm34yF5JLc08YzV7ZfaAprBiYKFgueV2QBahNzIjZQB/i0V562/KUhrLOUUWi2L7eVY /vS+GWK1XLvpgoAcQDB98VtnyIAN3Dc9rE6ppMmeUXG8d1gNptBqSdDzcmAZOQLyqeKFDO 80E0q8DWBCn5DFThsZh5gN/oit+mWRGTLI2Gc7ZuNy6nY35Lrl+d6lwuum23Bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=050742c0187371c5c54876c7bd047ee9d55fc206 commit 050742c0187371c5c54876c7bd047ee9d55fc206 Author: Piotr Kubaj AuthorDate: 2022-04-27 13:18:39 +0000 Commit: Piotr Kubaj CommitDate: 2022-04-27 13:18:39 +0000 math/muparser: disable OpenMP on architectures lacking omp.h --- math/muparser/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/math/muparser/Makefile b/math/muparser/Makefile index 52285e44da55..78a47fe7804b 100644 --- a/math/muparser/Makefile +++ b/math/muparser/Makefile @@ -11,7 +11,7 @@ COMMENT= Mathematical expressions parser library written in C++ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/License.txt -USES= cmake +USES= cmake compiler:c++11-lang USE_LDCONFIG= yes USE_GITHUB= yes @@ -23,12 +23,8 @@ CMAKE_OFF= ENABLE_SAMPLES EXAMPLES_PORTEXAMPLES= * -.include - -.if ${ARCH} == armv7 || ${ARCH} == powerpc -USES+= compiler:gcc-c++11-lib -.else -USES+= compiler:c++11-lang +.if !exists(/usr/include/omp.h) +CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=OFF .endif post-install-EXAMPLES-on: