From nobody Mon Mar 13 00:05:47 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 4PZcPS3JdBz3xqj9; Mon, 13 Mar 2023 00:05:48 +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 4PZcPS1YK7z3NmR; Mon, 13 Mar 2023 00:05:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665948; 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=dPGp45I7gRtaj2VrXRKRmsDJIpn5Kf5bW8TneGC7Oi8=; b=YyZ6vj3JFVGdIBYZr8UeOszaxZZJfh4yJ7R4TTpBFtKjT6ltg3gcc+oS3ZrskGhjvdN9nc i+ndyyqIWMpdjY32kGSfNXjGhLO5mXg4TawGGjLsXpdhI4NBfMJcw0nrQkW2k+4MWP9ILW vDDJhbJvdfLaw5hd6ZH4LWzzH1WR2M5Q3c15X2g+HQfATlJTbTHqZopDvNk8QEHLySIVNC j5RCHClXtm+F2JnyBGcK4iJ5AKRrH54ViLiNQ0hM3AWGqsbBWsQJY+FpDWT5JlIhdMC+te QsfPUEpYK8UAD6R2U5t4rhA/2bbCWnrYrv082390uAjVSoxcoqiuV6SKl4V+CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665948; 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=dPGp45I7gRtaj2VrXRKRmsDJIpn5Kf5bW8TneGC7Oi8=; b=wxOESCEkgQXCOFOvknyba5vhV3kwdjn5aLROWqNaqXwVXGkxsdn7XK60yWLYYyA+9lnPHb rotX8XVzB6E0EAVcXLU56baVGb3EKWUwPJp1AED0XQLnHNiupxGrU+VmoEajN2t/ufMDp6 n/Co4bF6TwgSWJf51EqV0OD/YBMjgsJmvp1DlVXRkSjSjbud4H5FWBJAvSu5DHRhbPU3vU sqfDOKfc5mz8Dz5AXh9gUOChoAvDm2Ag/fpawUWNVgEoZNQiC/6XUlkHbt6l2E6CGEDUX2 i4yVD9WYtzGyPE3wIJqxzkNw1e+SuXJwGz2bRrTwuOxFhMrg8/xpu4RrNEDcuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678665948; a=rsa-sha256; cv=none; b=pC5fTWRThZ+8FHxVV6O4i+g2vUfxhXgktRjH84gIKrBrxUNKLRneSI/x4vaa+BA046MLAJ low4piR4CwmVMM6KUBaotIsMTdFiLiOkGO6lJXDK1STEJgXAeo25D0eN4hRFRM7ecvBFbH nak+r/DZIK3EoeOcfIDTJxrygH74zOPyFOC/xNVeyY55ZMsM56PXD64XP5KVLxvPQbJ+Q5 4Sg6YpRyoxi6WKK7Yixz69sKr4WXhgjUaiz83uQNI522EzjkO/xrGzDA9sEZiEVBm4GEsC JJE37J1y0SWnqwaRfkYSZOeI42rCk3Rx9Wz46lbrymYnNnSlb9T+k0+4ewR7TA== 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 4PZcPR72WjzX3f; Mon, 13 Mar 2023 00:05:47 +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 32D05lbd080491; Mon, 13 Mar 2023 00:05:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32D05lZb080490; Mon, 13 Mar 2023 00:05:47 GMT (envelope-from git) Date: Mon, 13 Mar 2023 00:05:47 GMT Message-Id: <202303130005.32D05lZb080490@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: 63f00fcb3e47 - main - science/dkh: 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: 63f00fcb3e47127b32281fbca063aee5bd63b4be Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=63f00fcb3e47127b32281fbca063aee5bd63b4be commit 63f00fcb3e47127b32281fbca063aee5bd63b4be Author: Piotr Kubaj AuthorDate: 2023-03-13 00:02:51 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-13 00:02:51 +0000 science/dkh: 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:28 (include) --- science/dkh/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/science/dkh/Makefile b/science/dkh/Makefile index bcf5fe7d65de..5bafeaae98ad 100644 --- a/science/dkh/Makefile +++ b/science/dkh/Makefile @@ -11,6 +11,9 @@ WWW= http://www.reiher.ethz.ch/software/dkh-x2c.html LICENSE= GPLv3 USES= cmake fortran +.if !exists(/usr/include/omp.h) +CMAKE_OFF= ENABLE_OPENMP +.endif USE_GITHUB= yes GH_ACCOUNT= psi4 USE_LDCONFIG= yes