maintainer-feedback requested: [Bug 206589] multimedia/openh264 not prefix-safe

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


Mikhail Teterin <mi at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to gecko at FreeBSD.org:
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


More information about the freebsd-gecko mailing list