From nobody Tue May 31 03:13:21 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 F0FA11B432CA; Tue, 31 May 2022 03:13:21 +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 4LBy5s5yhSz3jhT; Tue, 31 May 2022 03:13:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653966801; 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=H9iHEjjdksvlB0Lg2fQyVJqws7qabhoTviYsmqwGGHs=; b=E/oqbvWkwxlgROwjXynZJsE/iSYo1xbNFAdmLVRk3zDJhyvr94hkYjIRi8aNJg0vNKJIQb OH4mtpT2/MM10VGDd2+JE7V/yXAO6hnExL+xs3K1Ln5/cvbRNKvlzVmKqYACMJE+WK35fO 45OMCHi5ZppLOC+N7V1p2wPbPn3AzDNi/5xVgYcH6qqWaoCo/TWBM+cIf/DsKHY6R2WXwN UrJO3l+CDhBpW/O6w8/+edGEXYXNTnRLB/Or0PEgaZ6T5L2kgME6WzKqFJbv4NQfhoVSCE LGNhr//Oeo787Pucy6VVJP3Tt5ZfribBuorna/lyEDubdp+lTun8gCUY7CTDsA== 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 A19E523B1D; Tue, 31 May 2022 03:13:21 +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 24V3DLWD090124; Tue, 31 May 2022 03:13:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24V3DLQb090123; Tue, 31 May 2022 03:13:21 GMT (envelope-from git) Date: Tue, 31 May 2022 03:13:21 GMT Message-Id: <202205310313.24V3DLQb090123@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: b381e146488b - main - science/spglib: fix build without libomp 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: b381e146488b86fa5fe808fb0d8db2b42a27e935 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653966801; 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=H9iHEjjdksvlB0Lg2fQyVJqws7qabhoTviYsmqwGGHs=; b=EVPL4VbXZq/G2NO6NfSRRkwEKoTWv9ZL166phToqDIFd/h98FTkJ0IZYLz3jfidUA9Cto/ A5wNw2iuZVqnJQ+oEzqyb5wFFCotWL0V+t7acS5AvjfElrOXdlWfRAFqt0RP5HczguDGHR EhP5RyJH+DOHdE7lFE0AOEBZgLUWMwQjcTg+GwjicBJKYA81GVZbZqyMeH5806XRjFgjOt AqCy4Xh1d8GLcodXiVkIprVXEGwdD+BZoxW8d+MJFE122UotXFzUrrQvNMLeUduqr2/s69 61cy0RSOBGs4bBqeQRyHcrX7NqZe240Yyftd4m75iZtOLN6Ll/C6TcrA5n4AWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653966801; a=rsa-sha256; cv=none; b=DeGD61o+3bm9eNJQPF4DUAs4KDgJq2LLSGugYgoR+myNz58J6Mm0Md0TJHsO5HYiy8G0DO S4QqqVTQ2rk3r5/Yn7oie5FF8IPD6BAjU2IqI47l2G+QKhALi46xDlm/DspZwZfuWSHG9i ybN5QwoQQbcBq5KE+71BMAE0jsEURAFjlyXQ5AKTjN6zCdM5DVuqXuDT6paYx4rIo9QafP Sq3p8Ve6tEeG9mwKmj/Z3R91Nwchj5xAx1hWBQrBA3Se9mgwYvls0KjtumvXyR0iM9yHuA pNjk1vHYgr5P/68RH6OkIW+Gx2AklImmHjnQW7+KKIZzX2wjV/xXqlEeVleaSw== 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=b381e146488b86fa5fe808fb0d8db2b42a27e935 commit b381e146488b86fa5fe808fb0d8db2b42a27e935 Author: Piotr Kubaj AuthorDate: 2022-05-31 03:05:56 +0000 Commit: Piotr Kubaj CommitDate: 2022-05-31 03:05:56 +0000 science/spglib: fix build without libomp CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/cmake/Modules/FindOpenMP.cmake:596 (find_package_handle_standard_args) CMakeLists.txt:42 (find_package) --- science/spglib/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/science/spglib/Makefile b/science/spglib/Makefile index 8b92284b2353..b79425cd2835 100644 --- a/science/spglib/Makefile +++ b/science/spglib/Makefile @@ -13,4 +13,8 @@ USES= cmake USE_GITHUB= yes USE_LDCONFIG= yes +.if !exists(/usr/include/omp.h) +CMAKE_ARGS+= -DUSE_OMP:BOOL=OFF +.endif + .include