Mikhail Teterin <[email protected]> has reassigned Bugzilla Automation
<[email protected]>'s request for maintainer-feedback to [email protected]:
Bug 206589: multimedia/openh264 not prefix-safe
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206589



--- Description ---
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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to