From nobody Mon Mar 13 00:05:49 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 4PZcPT2slYz3xqlw; Mon, 13 Mar 2023 00:05:49 +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 4PZcPT25Fqz3NqP; Mon, 13 Mar 2023 00:05:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665949; 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=pxX21epBcaqpVyYqqf5Hw/Vh83sKB873ZLxahsjlacg=; b=P2lH2yVBnJcPFkvtN+2vLKsnrXJmXR8/9zpG+URgJ8aRZnOxS0G6mFT+V0U77ORJTaVsvs VGRuPQ4yuqugp/Dz/F6Ozz6JjFfWl/RmvNfAQHTzOhN7eclGxK0a9r9SLCnMJ6nIHKlpRx 57yHaDdKClyzIxy8y3Y+tbynpLVa34mHdQpSUFTN0bbJC5zK0x426Dfs0gJm6WgBE4CaDm rdtzCTTCZifHmxZcb2/jO4H6lACIZ0/dH/XsUa3T7UHH0aY9WYe7OpjZaZmt+PAAaCk+rr rCTHcva20W9Fk8d7EO7tpNSp9bQok4G838doKqVH1c9IvQE3Bg2YjXSeZ6OmWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665949; 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=pxX21epBcaqpVyYqqf5Hw/Vh83sKB873ZLxahsjlacg=; b=b2DaImvQ44JaT+yMixw/MFp7LJPdmcvd33xtoNEIxErkd3lh+xG8rn2+3Bn8wzjIPOMxAB 7nAxLBCm69meIgkbiNk6hQfMNC81eAkMQpjuzHqBzU6oi8YytqmFQcFz9XaH8AEJIG4QyO WaEHpyMq0CueK7jR4E+WkeMZhWeAEW6onx6PGUKTVE9y9bvUnB+gedcPkxow+kUnu1SixZ sYYP2fyKTrhs8lt2NbYMS+lJEygfVGdbR/v7IMb3mVPtSNnu5N4LMUh/RUnMZpIxB+sXV9 k5WrRhNseaFcXvJOcVbT8Jny7sVY6yK4rzAAE4ujlf3pwyxY4p5MeADuniihQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678665949; a=rsa-sha256; cv=none; b=KD2G+ba8gQKfd1nGe6jalQP34QrG/ovx8yP0e0Q4dYQsVJcaGnoDgFpzrkOFp0wj7fvtu2 5GbxmFcad/Bt6lNGUwe3MCPj0gvZigDhcF5EBs812S2M9+TMStIycGXrKjFy2+Nh1+IQKE bB6WlHyEIWX4r/zWSutAqcETxsnvx4EYg3RgTopIPUho0tnN0FT/rATJbMCzsYIQ4aHplu Sn5CL96oAwXokHN814Pp11KMv+3qCySR597wzHkoD2/Ijj4BqYT/Mh29XispagC6zeVLF2 xorC1tQSm26/S93j7eiVfAXTvM2YppxSmh0IFQNslQ9xCOxNPQOQY7ve9xSmnA== 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 4PZcPT16dtzWp3; Mon, 13 Mar 2023 00:05:49 +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 32D05nP5080510; Mon, 13 Mar 2023 00:05:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32D05nSm080509; Mon, 13 Mar 2023 00:05:49 GMT (envelope-from git) Date: Mon, 13 Mar 2023 00:05:49 GMT Message-Id: <202303130005.32D05nSm080509@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: fa21a4984477 - main - science/erd: 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: fa21a49844774bb5e4f2993852ade4d4c9287f54 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=fa21a49844774bb5e4f2993852ade4d4c9287f54 commit fa21a49844774bb5e4f2993852ade4d4c9287f54 Author: Piotr Kubaj AuthorDate: 2023-03-13 00:02:53 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-13 00:02:53 +0000 science/erd: 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) cmake/autocmake_omp.cmake:30 (find_package) CMakeLists.txt:27 (include) --- science/erd/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/science/erd/Makefile b/science/erd/Makefile index 45d6017c712a..2629c3a8ef98 100644 --- a/science/erd/Makefile +++ b/science/erd/Makefile @@ -12,6 +12,9 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake fortran +.if !exists(/usr/include/omp.h) +CMAKE_OFF= ENABLE_OPENMP +.endif USE_GITHUB= yes GH_ACCOUNT= psi4 USE_LDCONFIG= yes