From nobody Tue Mar 14 19:04:43 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 4Pbjd73XHYz3yc2j; Tue, 14 Mar 2023 19:04:43 +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 4Pbjd735G2z3MVy; Tue, 14 Mar 2023 19:04:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678820683; 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=FiNNj1Scn+ErP2D5n59O/EquAP9/hfef7Yx7oI1purM=; b=tXDoPIWXzc0fuoXWzDCJ2sjeP37EdWU6QZFzVw20B9id0cAZkpvrvS/lLrgpaE0+FzJTz1 gjv6P7wE3hF4ZnUbET2eXevbppbN1aTRuPQMIB7FQbfSq7mL7+NEImQgM+v8KewqVWt4nu Dg7QI5b06vgLq+M/5JZXGglRv25+uQm1PEIUyM1PlkeP6QgCSCvc4tpv37MGkzOvvkvU/L eaX+Ju1imUrpnNr4saMxlG7LV5T9tbegb0PPLv0PnPuZiIxK0ktx7rdEY0C31cTxpKBKZB GbfnsUDcdhMKovyVCikP1S7vacr1jRlzkzYUfKJ3e+YLc/CujJCTklgaeep8Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678820683; 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=FiNNj1Scn+ErP2D5n59O/EquAP9/hfef7Yx7oI1purM=; b=D0Ey6A3lf31oCb4/qR48ZJIHMdQXt48cnXJTBPRf7W5qrm0CIMXfGb//61EjVTWI/H787K qAUakvLhiWlMPmPgzmTIMpDPVW41gcNefr0URQxX0RlhpIbPuUftiZb+y+3nSnx/6snR+N R2Id+SuSZY+Hg3WZVahptUKfrGRU3DGwvJ3oKLLSqfetESXvoBFK6/LEYiOu4qfOHPtgid zpmerCsBrPg/d9b6GgS5iv2GEx4OZVliGeNNVaidRrgbSmEYXd7qAjQCTQS01CmttQ8B4w tp/GfT6qRiEt8Os/QO3X787ve0ZnNiLeKgfQ359m0n0jN83F8o+m51iu9AUspg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678820683; a=rsa-sha256; cv=none; b=T3kEsAtpfppqWKP8LtsxXiPRbHNV0C9QmXqAN4oS3Ey2TMbWKGwHB3hxes0z3OxPUfB/R0 2vV9HdykWAq+m9c4Hu7Hbd3irJmOE4me0HqSsVjj7bJ9P/+Z/YkJNVa89sP4UuzhJ9Z/9O DGlEMpZzRms1EqyZkSiBIgKQqW3b28Z9SrQiTsDeU5PtjfwXX5CmY1BYMbt77A4l+o/WT5 Z6APHaEXQtL9pdLFIQxNoiBwjGFaK9u6HeDho7q0/u6/PXAvPH2eURDh5x+cJsJqXV+OpN FMufAeOGdr7QBMWOBPVkZKcCOaH6OOHSxWxdGF6EVJ3jAxgGsKkbR5w/HUVW1g== 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 4Pbjd728xJzmr5; Tue, 14 Mar 2023 19:04:43 +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 32EJ4hbd021717; Tue, 14 Mar 2023 19:04:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32EJ4hoZ021716; Tue, 14 Mar 2023 19:04:43 GMT (envelope-from git) Date: Tue, 14 Mar 2023 19:04:43 GMT Message-Id: <202303141904.32EJ4hoZ021716@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: c7829a491fbb - main - graphics/gmic-qt: 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: c7829a491fbbbb7a2c89ebfeebd3a7d1159c311c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=c7829a491fbbbb7a2c89ebfeebd3a7d1159c311c commit c7829a491fbbbb7a2c89ebfeebd3a7d1159c311c Author: Piotr Kubaj AuthorDate: 2023-03-14 19:03:52 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-14 19:03:52 +0000 graphics/gmic-qt: 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:188 (find_package) --- graphics/gmic-qt/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/graphics/gmic-qt/Makefile b/graphics/gmic-qt/Makefile index a4279dfe6252..3b0c80b69cff 100644 --- a/graphics/gmic-qt/Makefile +++ b/graphics/gmic-qt/Makefile @@ -25,7 +25,12 @@ FLAVOR?= ${FLAVORS:[1]} krita_PKGNAMESUFFIX= -krita gimp_PKGNAMESUFFIX= -gimp -USES= cmake compiler:c++14-lang pkgconfig qt:5 xorg +USES= cmake pkgconfig qt:5 xorg +.if !exists(/usr/include/omp.h) +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++14-lang +.endif USE_QT= core gui network widgets \ buildtools:build linguisttools:build qmake:build USE_XORG= ice sm x11 xext