Created attachment 203553 [details] patch The build process builds for little-endian by default, but powerpc* architectures are big-endian. While here, add USES=localbase:ldflags. Tested on powerpc64 and amd64.
Comment on attachment 203553 [details] patch Thanks for the improvement. Approved.
A commit references this bug: Author: pkubaj Date: Sat May 4 22:14:03 UTC 2019 New revision: 500834 URL: https://svnweb.freebsd.org/changeset/ports/500834 Log: audio/vgmplay: correct endianness on big-endian architectures By default little-endian is specified, which may result in runtime issues. Set it to big-endian where needed. Also add USES=localbase:ldflags. PR: 237173 Approved by: tagattie@yandex.com (maintainer), linimon (mentor) Differential Revision: https://reviews.freebsd.org/D19994 Changes: head/audio/vgmplay/Makefile