From nobody Tue Mar 14 19:04:45 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 4PbjdB06lvz3ycKQ; 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 4Pbjd94nzNz3Mtx; Tue, 14 Mar 2023 19:04:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678820685; 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=9HcnJfmF2nellNlSPxB0/I31plC5809Y1lUalO6j2CQ=; b=O2lMVgEQnQyuregxwEHtGHRCUf7/J9crs1Z1kN3rGpQYZsKAB7n0ITz0J374lTybzJ4Rep HIQSUJriJldrG3dYa6+w1UH/n9+eBNpBw5twETMTj+d9ceYyzbJ/AXS49ZBu4Rygcem8Yi 0hpP4YW0ps5rNhlBdVl136sbWDr8W4AnnFxjSYSfmXKlIteZ40X8WH9zMYJaJFblw2rWPX 7HfPHHP6xiAGSBMzUfFuRuqD6smCe5qNlj9T6ghDFpgvl3ZyG2t1hH0+Av0Xhwb3M4u9DC Aqvc8Qmso2UP20rsghz90c0Mn1S+mYdf6Osetdwvam9Ze3wU5ClbQqFMC9XL+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678820685; 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=9HcnJfmF2nellNlSPxB0/I31plC5809Y1lUalO6j2CQ=; b=ZA0iVDPrpRlYQvPNvrw8jHDhLNtBj78K0RszAdUqLOa1JmEFx5fd53Qj6AyZKb8tgGrNLs 9d+YoClmJpetvvMxTVjGoprmTEmc07YZcjC1gcjuhL1BdYd6+YplCcybMda6h2wckwATtL NN4cWrN8SduE152BonZwrUbtwSanjtBlBN+U/d3xCJ/qSL6NSBeq1l9hbcUyidIYD22beO EWONSnXluZh0I+wOT0Ut8+Ihz+6RMVcPARrptHR44xUawCuNAORtIGAdAKOQgOiaTJ8xUY /Xsv0CZvIIpFZ55O1Y6aIq07oUykOT3gG4VrgCoBJDXd573z+Zgf7KsfyCuvyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678820685; a=rsa-sha256; cv=none; b=VCwAMlNrCnEhqTnPQpAVqWW1IUPMsUoPJl3pLm0ewBz+wwFblVK6cH76DCimKYMx0yipOE Qc0zo2Vo2tMxrXVLyjQktkS2EwFuB5VGtORiRpXNzoUSwwHUhdtTorwvBV5zVENbLU74gQ V9IG74V2DBLuqiFXYGlTHgUN0UUoiODlZrXoNMYztfa7l+Ut6U18aM+WdnVQ7EHt/nz3ke wTF0tMG6WTfaBVgbCzp/4g6tAynvi/fvKENkuZNlp0TNw66qkN2X/bisDPEnHMVyms5cFF XgsEb6nLR7fnErq4fazPHjOD5sohlK89sijqjmWHvXt+PqOV771APPwilYfK4Q== 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 4Pbjd93r7tzn2f; Tue, 14 Mar 2023 19:04:45 +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 32EJ4jAV021757; Tue, 14 Mar 2023 19:04:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32EJ4jPi021756; Tue, 14 Mar 2023 19:04:45 GMT (envelope-from git) Date: Tue, 14 Mar 2023 19:04:45 GMT Message-Id: <202303141904.32EJ4jPi021756@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: 0a0f66e4af55 - main - graphics/perceptualdiff: 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: 0a0f66e4af5526771ba714077758f66c0cfd001d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a0f66e4af5526771ba714077758f66c0cfd001d commit 0a0f66e4af5526771ba714077758f66c0cfd001d Author: Piotr Kubaj AuthorDate: 2023-03-14 19:03:55 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-14 19:03:55 +0000 graphics/perceptualdiff: 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:25 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. --- graphics/perceptualdiff/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/graphics/perceptualdiff/Makefile b/graphics/perceptualdiff/Makefile index df3bfab968a7..59b2c744af1d 100644 --- a/graphics/perceptualdiff/Makefile +++ b/graphics/perceptualdiff/Makefile @@ -17,6 +17,11 @@ PLIST_FILES= bin/perceptualdiff USE_GITHUB= yes GH_ACCOUNT= myint -USES= cmake compiler:c++0x +USES= cmake +.if !exists(/usr/include/omp.h) +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++0x +.endif .include