Created attachment 236468 [details] Patch for yoshimi Use upstream release archive as recommended by Porters Handbook (USE_GITHUB section) Poudriere testport OK 12.3-RELEASE (amd64)
Sidenote, this port also overrides CFLAGS https://github.com/Yoshimi/yoshimi/blob/master/src/CMakeLists.txt#L137 https://github.com/Yoshimi/yoshimi/blob/master/src/CMakeLists.txt#L144
Thanks for the patch, Daniel! I'll fix CFLAGS at a later time. ------------- Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f35d4cee10483771dc64aff575d337b75f5a4cbc commit f35d4cee10483771dc64aff575d337b75f5a4cbc Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2022-09-10 14:57:24 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-09-10 14:59:18 +0000 audio/yoshimi: Use upstream release archive PR: 266334 audio/yoshimi/Makefile | 6 ++---- audio/yoshimi/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-)
(In reply to Daniel Engberg from comment #1) I can't confirm that it overrides CFLAGS. When I added -O5 to CFLAGS and CXXFLAGS -O5 appeared in all compile lines. Yuri
(In reply to Yuri Victorovich from comment #4) ... [ 63% 132/205] /usr/bin/c++ -DGUI_FLTK -DMIN_CONFIG_MAJOR=2 -DMIN_CONFIG_MINOR=0 -DYOSHIMI=\"yoshimi\" -DYOSHIMI_LV2_PLUGIN=1 -DYOSHI_FIFO_DIR=\"\" -Dyoshimi_lv2_EXPORTS -I/wrkdirs/usr/ports/audio/yoshimi/work/.build/LV2_Plugin -I/wrkdirs/usr/ports/audio/yoshimi/work/yoshimi-2.2.2/src/LV2_Plugin -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/wrkdirs/usr/ports/audio/yoshimi/work/yoshimi-2.2.2/src -ffast-math -fomit-frame-pointer -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++14 It overrides defaults set by ports framework Best regards, Daniel
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a0f04a976b000e49180daf7ba52e67826018dca commit 5a0f04a976b000e49180daf7ba52e67826018dca Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-09-11 05:06:12 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-09-11 05:21:26 +0000 audio/yoshimi: Not override port defaults for CMAKE_BUILD_TYPE and CXXFLAGS PR: 266334 Reported by: Daniel Engberg <diizzy@FreeBSD.org> audio/yoshimi/files/patch-src_CMakeLists.txt (new) | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)