[Bug 206589] multimedia/openh264 not prefix-safe

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 25 01:03:49 UTC 2016


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: gecko at FreeBSD.org
          Reporter: mi at FreeBSD.org
             Flags: maintainer-feedback?(gecko at FreeBSD.org)

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.


More information about the freebsd-gecko mailing list