From nobody Mon Mar 13 00:05:39 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 4PZcPJ1Fd2z3xqr2; Mon, 13 Mar 2023 00:05:40 +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 4PZcPJ0qq4z3NNH; Mon, 13 Mar 2023 00:05:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665940; 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=2iobA7OkRWzw9Uc/VPzqtBF1N/Qo/2Rm3/7123sEvCk=; b=hErvOXB1SvzzXZxJcf/+TjFHrSLHzrsmDKGXLYXRD7lRYmemD5PIb5n32I7AMjAjggIOUY wVNYyVpAP0ZLuqc/MQniner+/Oo3p/Msfp5RaE8o0vAwXC7bz41OGacsvq5BpkFH3G4Jok 22KXpbq2ligKcwMlnaP4LhLfoKp1NibyhT2C0OO2i+aMoLCZ95x2ighOImyh/N4evb3cYJ MOEbdh0jEPsyxZTDUmiIR57RKF89rYpdkRAb/QihlxdLvww9C+tkhHzvHq6kJVYFuDjcrV CO2N8fDOK5y326y5ARkogyxOCfO7YNX8G3bdEMAyRVCrODyYp5i/Sj8nFN7ZaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665940; 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=2iobA7OkRWzw9Uc/VPzqtBF1N/Qo/2Rm3/7123sEvCk=; b=k/cMYOZ+Y8imQIuF91SFXY4RdbQTMSBOSXbUZo0JcW0yhKF1AYuGHTAFFkFen2KYpDCWYr v7aoCommM2X1GLNAR/5nNBziUgI3+Xa8pCFhjXceNtGkIU4XBnzrnFwgMeFtmb/w/WKfUj BemWNrir1rZ8e6/Mncd6dPSVoyfPWve5cdIEGP9wu5WM7wExlOiox9ESCqSqBkqWahBwYE CshUkaf56jrsNWX6o05vFR1QgaeazpFE9LlcyqpY63qc9/BCKEKBgFlroYLU4DhvhNweUA uTxR8E7sFlYwd3U1COwhKrl9vYbVBEMWz8VGE1fWWARb3higF++XWFUntF19VA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678665940; a=rsa-sha256; cv=none; b=VvcstKr/Jnrshzgh2HYM6a/k4jjGERumxAhBMQeJGEOC8ppSwvv+p/4Vub1cMDpoQxivWU LgKXlbDL0OH6dQDqKaUCSQWn2CAxrq9zspvQZR704AHc3wBv1oMj3UlTTLYZsgG091noLp dih4H/19W+jajzvjuHPc1T3qdd7Sjl0zSoWceacNZNb72zvnaN0cXRt+3fzfl5Gn09qPmV lFvebJif4gQLQQcZaLsx+b8THxaEPIernCie16VKXt/wDBgnUjcWXlVJfgLmm5qn+byLuY 2C9NMXqwwujGiNqcGXoDAhoFUuFbaiwi1Qxzi7ZIXNBXYbaEoWKMzwG9BQHu+Q== 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 4PZcPH73sGzW84; Mon, 13 Mar 2023 00:05:39 +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 32D05dhm080342; Mon, 13 Mar 2023 00:05:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32D05dmk080341; Mon, 13 Mar 2023 00:05:39 GMT (envelope-from git) Date: Mon, 13 Mar 2023 00:05:39 GMT Message-Id: <202303130005.32D05dmk080341@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: 177577372293 - main - science/phonopy: 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: 1775773722936d8dd69887e9957b8fe36d0ee85b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=1775773722936d8dd69887e9957b8fe36d0ee85b commit 1775773722936d8dd69887e9957b8fe36d0ee85b Author: Piotr Kubaj AuthorDate: 2023-03-13 00:02:37 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-13 00:02:37 +0000 science/phonopy: fix build without libomp CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile): Failed to configure test project build system. Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS) CMakeLists.txt:26 (find_package) --- science/phonopy/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/science/phonopy/Makefile b/science/phonopy/Makefile index f1f7a48f31f5..ab3fdc335cb7 100644 --- a/science/phonopy/Makefile +++ b/science/phonopy/Makefile @@ -11,6 +11,9 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake +.if !exists(/usr/local/omp.h) +USES+= compiler:gcc-c++11-lib +.endif USE_LDCONFIG= yes USE_GITHUB= yes