From nobody Mon Mar 13 00:05:34 2023 X-Original-To: dev-commits-ports-main@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 4PZcPB3l5nz3xqcG; Mon, 13 Mar 2023 00:05:34 +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 4PZcPB3H5Kz3MwQ; Mon, 13 Mar 2023 00:05:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665934; 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=gfTsFQrAxgLP29F6PR6WkUGX+NmBDSNRpobv9riFacU=; b=dBe6QFqdqLpLTB11dSZuf7HPFyw0+uth3FaKVCd1kwTFG/6DNef/TvK1FuHnu77kkBMSEU wIIFH/zJN458coRMh2n/nxK9sedMqSh5AgW6jNoeY2cyzw9H3Vhc9yGn+PWjhsBo9hKuAX k4FARP0sMPzGG4AIY67FMcMamMOVECERVt6S3U7Xq2sarOd1vzJekZ6ouxYtwM0FogW4r0 HVZYlAwcCFMAFs3WFvGI3PlxccY/udH0V0imGg8SKj4prGZL78hBYf9nFY/UFr3uGxTxpe NVSY/DO6RuuxfgLKyCgsKVFgsU3avRqr7BSVzR9QPxg7l9VImisFsy5w5p4FQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665934; 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=gfTsFQrAxgLP29F6PR6WkUGX+NmBDSNRpobv9riFacU=; b=yF8Jr+sUKari/9seXBC406li7x+EPl0jpIyRGAWZI+UfN+7uQGZ7rHFzwf756QRqPmGrTL QEXx4rfoGH0PfTGwFQX72pICTHEGSpqj4qdum8/2CdYiFZDUT5L8oUyNMrmsRZaN55YvnM X+OllUdl/mRIFge2zpmxjA3naLul/sjFCY05ltzKrrlQgrRadYjRW3ZFluDZqQmWHpE15a QtlicX48j/WW/b/9RUYWp2DAt/QZwU0m7hlFME2UTeI2VNpqAfGqxSJ9zeuS3EwLUDeZEo BY/AzGTcbA3cwyCJfwJ+hnWFlaJLsPRLvCQM6f4+lJIE8vCmbRWGawf0pQ8wwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678665934; a=rsa-sha256; cv=none; b=d9GMJ3g43nw1lvyWOir2WAZdHtP3b0mYGys7oUIJL917kZXjtqEHBjqVtB2fBAX1hs18DL d1B7equhr040OWorl+saTKLWJqt4ni6bBN6iCtNaJszjip3hb1tR4szvek/uRuQwa2nTqo 1a6XOmCsyILZTctyh4Zmzx1GHl2qqYGDBaGwD3XWVkMDm+10xlQNtfi7708ilKgc320mpc CKA3Y09xj/ZqEIUwvjb51oEHzI6ixMa15SSSTsnhFFEQf3vhCXBePDppj6ba2Zk6BQuqQu /aI7bsJ5gemiXZZRESuRYsdMt3bA8B+QahvlbizziAXqzrUlWWDWlokTU0MI4w== 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 4PZcPB2P2gzWp2; Mon, 13 Mar 2023 00:05: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 32D05Ywo080235; Mon, 13 Mar 2023 00:05:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32D05YdW080234; Mon, 13 Mar 2023 00:05:34 GMT (envelope-from git) Date: Mon, 13 Mar 2023 00:05:34 GMT Message-Id: <202303130005.32D05YdW080234@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: 0245cf92ba84 - main - math/primecount: fix build without libomp List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 0245cf92ba84717f51da9491591e3f57bc88852a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0245cf92ba84717f51da9491591e3f57bc88852a commit 0245cf92ba84717f51da9491591e3f57bc88852a Author: Piotr Kubaj AuthorDate: 2023-03-13 00:02:17 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-13 00:02:17 +0000 math/primecount: fix build without libomp --- math/primecount/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/math/primecount/Makefile b/math/primecount/Makefile index d736a2629c21..28d0d32c2d58 100644 --- a/math/primecount/Makefile +++ b/math/primecount/Makefile @@ -21,6 +21,10 @@ USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_LIBPRIMESIEVE BUILD_STATIC_LIBS +.if !exists(/usr/local/omp.h) +CMAKE_OFF+= WITH_OPENMP +.endif + PLIST_SUB= VER=${PORTVERSION} do-test: