git: b195f12abc1e - main - devel/juce: fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Jul 2022 21:10:00 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b195f12abc1ee88c5d35f3d80861b7ec85cd7e7d
commit b195f12abc1ee88c5d35f3d80861b7ec85cd7e7d
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-07-25 23:39:18 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-07-26 21:09:55 +0000
devel/juce: fix build on powerpc64le
Add back JUCE_INCLUDE_PNGLIB_CODE=0 to use system png.
PR: 254726
Approved by: yuri (maintainer)
---
devel/juce/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/devel/juce/Makefile b/devel/juce/Makefile
index 4e5926a83598..23cda0c4fe7b 100644
--- a/devel/juce/Makefile
+++ b/devel/juce/Makefile
@@ -1,5 +1,6 @@
PORTNAME= juce
DISTVERSION= 7.0.1
+PORTREVISION= 1
CATEGORIES= devel
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -37,7 +38,7 @@ GH_PROJECT= JUCE
CMAKE_ON= JUCE_BUILD_EXTRAS
-CXXFLAGS+= -I${LOCALBASE}/include/freetype2
+CXXFLAGS+= -I${LOCALBASE}/include/freetype2 -DJUCE_INCLUDE_PNGLIB_CODE=0
LDFLAGS+= -pthread -lfreetype -lpng16
LDFLAGS+= -lGL # while building NetworkGraphicsDemo ld: error: undefined symbol: glXGetCurrentContext referenced by ld-temp.o
LDFLAGS+= -lasound # while building AudioPerformanceTest ld: error: undefined symbol: snd_seq_system_info_sizeof