From nobody Tue Mar 14 19:04:46 2023 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 4PbjdB75VDz3ycCv; Tue, 14 Mar 2023 19:04:46 +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 4PbjdB5hhKz3N17; Tue, 14 Mar 2023 19:04:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678820686; 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=v5ecTwdGxvzk+G1bwDh98MlloC2HgXT+7cmn6uXckpA=; b=N0qlR5om99peAWcO5ds5Q3xnGR9pAKHg36DYCyxAYG59zDUMJnN2eqHN28bx/iXTniTOV4 ZfMeG2o4SKWQBPJtSKRK9i6VZIf6cp69HcyeTQCDoK33o5Uad34XcLnh4UmQU+L3caz91H 17/ll39+L1rkOgZJqeIF9IZw7ESAtqUGsBj0ISlWGjZ3UyK2sa9XPz+DTIUbDXtth/LCLH 2p8cwY2qUK45cBduk8aET9toBTcy6TbduABf2QxLQS5ZEAS/zFOnLGL1pgjcd8X/yPTBG4 O2fcxbMIFZ93ICpei9SsiKziZS1I1cstNKuwQLeTLyZfZYpS8dvZ/b+YMQ64Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678820686; 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=v5ecTwdGxvzk+G1bwDh98MlloC2HgXT+7cmn6uXckpA=; b=qlQauQJAQv5UR6Vu2oIjlngLQoCGMOfXVX4rpfsKsbRKvzzqxhZB+90qBCWQNvdH4XeJWi Hp44Q4j/9xwl9ZkUNQpP81kjsNc8iJbZka+L8hdV5f1UrEFGbttOJrDaWCVm8anVvnK+DO IunqMU37aOp1/AaRR6uSJptLfhCoC3epOF2mOWGBdSbM7x/cAO//4uqxJoYrzzaEOgtBDW pOI/o7ryAKFKUB04Nd5MHF2ruIaHm+kaDuqACcioJ2VJ5nP4UwUEoaknNasMsucDSje5Lw wJ9+U10fRzGutA+eEkTD2LfjxBfBr/yF4TBJ6yLSJ2c4RzzTaz6sVv/HE2yn9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678820686; a=rsa-sha256; cv=none; b=r860Wi7iOazpyWubdPnlXcbUj4gTa4lNTf2l3ctNrLMcMQ4GeabI2aDrZ2xTNYiTxViI1H 8/aLQe0oOe1lLjdtIp7uL3ka7/a3h5PG2NitYe7eXTb3n0CDc2b3wp9Gtj6sDgEXAzsxMf 08C7Q6W685mGWlvDWb0BEYiJnlsJYxWwDOK2gwjSnnEEXh5EvwzJ18oQxj8aNYJM+Aw0JP J9oUx25E4qK3l60aa3bszC6+LVQvv/D3OwWGHzq96nEjmUAGrBg1rqJOtDq3gX6buI938C HxismHPpQNugO03Ct7/kcGzkkf7livJNwU0Js1qLcfw7oy9NHU0M3y+U4HMxxw== 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 4PbjdB4kR0zmlW; Tue, 14 Mar 2023 19:04:46 +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 32EJ4kQu021783; Tue, 14 Mar 2023 19:04:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32EJ4kkH021782; Tue, 14 Mar 2023 19:04:46 GMT (envelope-from git) Date: Tue, 14 Mar 2023 19:04:46 GMT Message-Id: <202303141904.32EJ4kkH021782@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: d7a03dce78c9 - main - astro/oskar: 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: d7a03dce78c9c54215763e9b5a68f04fca68bd21 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7a03dce78c9c54215763e9b5a68f04fca68bd21 commit d7a03dce78c9c54215763e9b5a68f04fca68bd21 Author: Piotr Kubaj AuthorDate: 2023-03-14 19:03:57 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-14 19:03:57 +0000 astro/oskar: fix build without libomp CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS) CMakeLists.txt:94 (find_package) --- astro/oskar/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/astro/oskar/Makefile b/astro/oskar/Makefile index 3ee914634f9b..2dd172789014 100644 --- a/astro/oskar/Makefile +++ b/astro/oskar/Makefile @@ -18,8 +18,12 @@ LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libhdf5.so:science/hdf5 \ libsz.so:science/libaec -USES= cmake compiler:c++11-lang localbase:ldflags python qt:5 \ - shebangfix +USES= cmake localbase:ldflags python qt:5 shebangfix +.if !exists(/usr/include/omp.h) +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++11-lang +.endif USE_QT= core gui network widgets buildtools:build qmake:build USE_LDCONFIG= yes