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:   maintainer-feedback requested: [Bug 206589] multimedia/openh264 not prefix-safe
Message-ID:  <bug-206589-21738-DwtDhFjZcT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206589-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206589-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Mikhail Teterin <mi@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to gecko@FreeBSD.o=
rg:
Bug 206589: multimedia/openh264 not prefix-safe
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206589



--- Description ---
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



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