Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2016 01:03:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 206589] multimedia/openh264 not prefix-safe
Message-ID:  <bug-206589-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206589

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

Vendor's code needs to have PREFIX explicitly specified, otherwise /usr/loc=
al
is assumed, which breaks staging on systems with a different prefix. The
following patch fixes the problem:

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- Makefile    (revision 407188)
+++ Makefile    (working copy)
@@ -22,7 +22,7 @@
 ASFLAGS_arm64_clang=3D   -no-integrated-as
 MAKE_ARGS=3D     OS=3Dbsd ARCH=3D"${ARCH:S/amd64/x86_64/}" \
                CCASFLAGS=3D'$$(CFLAGS) ${ASFLAGS}' \
-               CFLAGS_OPT=3D"" CFLAGS_DEBUG=3D""
+               CFLAGS_OPT=3D"" CFLAGS_DEBUG=3D"" PREFIX=3D"${PREFIX}"
 ALL_TARGET=3D    all

 OPTIONS_DEFINE=3D        DEBUG PLUGINS TEST

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206589-21738>