https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206589

            Bug ID: 206589
           Summary: multimedia/openh264 not prefix-safe
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: easy, patch-ready
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to