Summary: | audio/musescore: fails to link, add USES=localbase | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Val Packett <val> |
Component: | Individual Port(s) | Assignee: | Adriaan de Groot <adridg> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(adridg) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Val Packett
2020-12-04 23:51:52 UTC
Their approach to CMake is certainly .. bespoke. As in, such a mess that I don't see a meaningful way to patch in a normal CMake find-module for vorbis. It looks like the PORTAUDIO option (default) somehow adds it, because in my local poudriere builds I have ``` -lvorbis -logg thirdparty/ofqf/libofqf.a -lz -lpthread -lfreetype -lrt -L/usr/local/lib -lportaudio audiofile/libaudiofile.a -lsndfile ``` comparing with your link command, I have the middle of those three lines "extra". So, yeah, USES=localbase it is. A commit references this bug: Author: adridg Date: Wed Jan 6 09:48:13 UTC 2021 New revision: 560490 URL: https://svnweb.freebsd.org/changeset/ports/560490 Log: Add USES=localbase to audio/musescore It is possible to set port OPTIONS so that nothing "else" picks up LOCALBASE, and Musescore itself just links to -lvorbis without doing any CMake footwork for it, so we need to add it explicitly. PR: 251589 Reported by: greg@unrelenting.technology Changes: head/audio/musescore/Makefile |