From nobody Tue Mar 14 19:04:52 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 4PbjdJ3pbkz3ybtS; Tue, 14 Mar 2023 19:04:52 +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 4PbjdJ2vxLz3NJ0; Tue, 14 Mar 2023 19:04:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678820692; 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=RpY8XcWpavbpyJMOXjyGKup94GniLTCA5qoATm5YDVw=; b=q4tdzwVJY52EeMCUV2vJMRuD+rldD8V9v56Bq9JbynZrwCnwi42C48WQlyFn/vOzKAj4xt QRFQfeVSh0I8/9cXUvC07BC7GmO7g0UfmpBY/CzvFUzKCTnd/6+xbRl1ksmd1jgJAGF9Vo DyuMjEuSJJ4oGsLAd6eEZO2nb3hTZNisqSRAoTxoDZXiJzR4yRx9Ywah6xttfMXwr+7bbU 49HZ9eWGMIWQ8jiCV6UUR6Vzm6jjtad4d3Wlpc+91hPtFzF6FNuMBvrEMACy6tms4GBVf4 bWIgeC4/9H+8il9Irfn1qJm2983jluqlZPaChwrOyPmESSeMp3QyHAcOE+eNiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678820692; 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=RpY8XcWpavbpyJMOXjyGKup94GniLTCA5qoATm5YDVw=; b=YoKrHq8lnzpZ4QcA7qUHvnO4d/bnRCOHwc2ENXjq52ghIAhkjv8OAWupxtWouEJkVJSPNL Uw810XYnACLFYQJfjNB0zoKdAQnwZYyMtu8aNcrf8RWTukeDOQmNRQjcK1v9djLYiGdFjO nmdazPCEMDV3udYXUyk2EVv3tHCGao9JcAR10FW1va5GuiebYNSjtT451n4C/KwBAr1w57 +KXxHMhcRubncP9AEMzbNQ8pP1e/6OwxH6CtsAdRZeHGfGTsIg9wTqBg+dR9DDMbIbUOyJ aNfxiimlZf8nrAExQkOYmISrS3JTR+Xqagcmy2LM5IQYkG7TkCyqYlg67SRISw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678820692; a=rsa-sha256; cv=none; b=mO/5oiy3KMjdoWLad+HNKtQlAClDyABYn0tl7FOlUAtQ+SIta3pjGE3rZx6pQ9RDErAo95 yfyJrV2VlYqmEx7z6Hc0YweXywHyDXtAVeCw0Ekt6bq5hiWZszr7panVkdGYCCIHCSXV/S oiSyUNLSCBapFQPcnJ3vGJcjXNLyMP+Nei+FaAdoeuLCrV+p3jGx6yEun5CIMXk57medcx uusNx40mmt3cbVKeLcTgwLi8luTNHh0VnC+gD3NBX+0lMo7Yz9p8htpXxXsSIZykEjl2lR R6oH1DUntkoWIT8w8FQ+gs0huwCfn9L3hUx5x+qAD9fzt3g+Eg0U8IU8Likwtw== 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 4PbjdJ1y3Mzn4q; Tue, 14 Mar 2023 19:04:52 +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 32EJ4q6I021885; Tue, 14 Mar 2023 19:04:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32EJ4qYK021884; Tue, 14 Mar 2023 19:04:52 GMT (envelope-from git) Date: Tue, 14 Mar 2023 19:04:52 GMT Message-Id: <202303141904.32EJ4qYK021884@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: eaac79f64c49 - main - audio/sfizz: fix build on powerpc 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: eaac79f64c491d9fd7e943148b1dff86c6dfdf30 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=eaac79f64c491d9fd7e943148b1dff86c6dfdf30 commit eaac79f64c491d9fd7e943148b1dff86c6dfdf30 Author: Piotr Kubaj AuthorDate: 2023-03-14 19:04:06 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-14 19:04:06 +0000 audio/sfizz: fix build on powerpc 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) cmake/SfizzDeps.cmake:7 (find_package) CMakeLists.txt:52 (include) Also disable VST on powerpc*, since it's disabled in plugins/CMakeLists.txt. --- audio/sfizz/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/audio/sfizz/Makefile b/audio/sfizz/Makefile index df77621ecca0..cfff56dc383e 100644 --- a/audio/sfizz/Makefile +++ b/audio/sfizz/Makefile @@ -17,7 +17,12 @@ BROKEN_i386= fails to compile: unknown type name 'Elf64_Auxinfo', see https://gi LIB_DEPENDS= libsndfile.so:audio/libsndfile RUN_DEPENDS= zenity:x11/zenity -USES= cmake compiler:c++17-lang localbase:ldflags pkgconfig +USES= cmake localbase:ldflags pkgconfig +.if !exists(/usr/include/omp.h) +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++17-lang +.endif USE_GITHUB= yes GH_ACCOUNT= sfztools GH_TUPLE= \ @@ -41,6 +46,9 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= JACK LV2 VST OPTIONS_DEFAULT= JACK LV2 VST +OPTIONS_EXCLUDE_powerpc= VST +OPTIONS_EXCLUDE_powerpc64= VST +OPTIONS_EXCLUDE_powerpc64le= VST OPTIONS_SUB= yes JACK_LIB_DEPENDS= libjack.so:audio/jack