git: 58b51f941282 - main - audio/dexed: Fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Jul 2022 21:37:33 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=58b51f941282911e9e677499a0e0925c89c33905 commit 58b51f941282911e9e677499a0e0925c89c33905 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-07-26 21:36:41 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-26 21:37:31 +0000 audio/dexed: Fix build on powerpc64le PR: 265446 --- audio/dexed/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/audio/dexed/Makefile b/audio/dexed/Makefile index 9321a2f48517..38f0181ea5dd 100644 --- a/audio/dexed/Makefile +++ b/audio/dexed/Makefile @@ -2,7 +2,7 @@ PORTNAME= dexed DISTVERSIONPREFIX= v DISTVERSION= 0.9.6-16 DISTVERSIONSUFFIX= -g1df9a58 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= audio PKGNAMESUFFIX= -synth @@ -18,9 +18,10 @@ BUILD_DEPENDS= libX11>0:x11/libX11 \ libXrandr>0:x11/libXrandr LIB_DEPENDS= libfreetype.so:print/freetype2 \ libjack.so:audio/jack \ + libpng16.so:graphics/png \ libasound.so:audio/alsa-lib # see https://github.com/asb2m10/dexed/issues/343 about the ALSA use -USES= cmake dos2unix localbase pkgconfig +USES= cmake dos2unix localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= asb2m10 @@ -48,6 +49,9 @@ VST3_BUILD_DEPENDS= vst3sdk>0:audio/vst3sdk VST3_CXXFLAGS= -DJUCE_CUSTOM_VST3_SDK=1 -fPIC VST3_PLIST_FILES= lib/vst3/Dexed.so +CXXFLAGS+= -DJUCE_INCLUDE_PNGLIB_CODE=0 # to fix build on powerpc64le, see bug#265446, https://github.com/juce-framework/JUCE/issues/1094 +LDFLAGS+= -lpng16 + PORTSCOUT= skipv:nightly post-patch-VST3-off: