Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364165 - mozconfig-3.eclass needs Gentoo Prefix fixes for system vpx location
Summary: mozconfig-3.eclass needs Gentoo Prefix fixes for system vpx location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 20:28 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2011-04-20 04:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-04-19 20:28:24 UTC
Hello, The configure scripts for xulrunner-2 and firefox-4 will fail like:

checking for vpx/vpx_decoder.h... yes
configure: error: vpx/vpx_decoder.h found, but is not in /usr/include

on Gentoo Prefix. So, the fix is to do:

--- mozconfig-3.eclass	8 Apr 2011 19:10:44 -0000	1.17
+++ mozconfig-3.eclass	19 Apr 2011 14:46:08 -0000

-mozconfig_annotate '+webm' --enable-system-libvpx
+mozconfig_annotate '+webm' --enable-system-libvpx="${EPREFIX}"/usr

but that doesn't work exactly because the packages don't understand --enable-system-libvpx=, instead it needs to be --with-system-libvpx= .... the caveat being that I don't know if all mozconfig-3 consumers support the new(?) configure option.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-04-20 04:03:17 UTC
Talked on IRC, still don't know if ALL the consumers support the --with syntax. We shall soon find out, I guess. If issues, revert and reopen this bug, we'll work it out.

Index: mozconfig-3.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/mozconfig-3.eclass,v
retrieving revision 1.17
diff -u -r1.17 mozconfig-3.eclass
--- mozconfig-3.eclass	8 Apr 2011 19:10:44 -0000	1.17
+++ mozconfig-3.eclass	20 Apr 2011 03:52:45 -0000

- mozconfig_annotate '+webm' --enable-system-libvpx
+ mozconfig_annotate '+webm' --with-system-libvpx="${EPREFIX}"/usr