Vendor's code needs to have PREFIX explicitly specified, otherwise /usr/local is assumed, which breaks staging on systems with a different prefix. The following patch fixes the problem: Index: Makefile =================================================================== --- Makefile (revision 407188) +++ Makefile (working copy) @@ -22,7 +22,7 @@ ASFLAGS_arm64_clang= -no-integrated-as MAKE_ARGS= OS=bsd ARCH="${ARCH:S/amd64/x86_64/}" \ CCASFLAGS='$$(CFLAGS) ${ASFLAGS}' \ - CFLAGS_OPT="" CFLAGS_DEBUG="" + CFLAGS_OPT="" CFLAGS_DEBUG="" PREFIX="${PREFIX}" ALL_TARGET= all OPTIONS_DEFINE= DEBUG PLUGINS TEST
A commit references this bug: Author: jbeich Date: Tue Feb 9 00:53:14 UTC 2016 New revision: 408520 URL: https://svnweb.freebsd.org/changeset/ports/408520 Log: multimedia/openh264: partially unbreak PREFIX != LOCALBASE PR: 206589 Submitted by: mi Changes: head/multimedia/openh264/Makefile
A commit references this bug: Author: jbeich Date: Tue Feb 9 00:57:34 UTC 2016 New revision: 408521 URL: https://svnweb.freebsd.org/changeset/ports/408521 Log: MFH: r408520 multimedia/openh264: partially unbreak PREFIX != LOCALBASE PR: 206589 Submitted by: mi Approved by: ports-secteam blanket Changes: _U branches/2016Q1/ branches/2016Q1/multimedia/openh264/Makefile