| Summary: | media-libs/libogg-1.3.1 does not honor $EPREFIX | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andrej Lajovic <natrij> |
| Component: | [OLD] Library | Assignee: | Gentoo Sound Team <sound> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | prefix |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Ebuild that takes $EPREFIX into account. | ||
Comment on attachment 352586 [details]
Ebuild that takes $EPREFIX into account.
--- libogg-1.3.1.ebuild 2013-06-29 14:36:37.448855121 +0200
+++ - 2013-07-04 15:11:11.968240810 +0200
@@ -26,7 +26,7 @@
src_configure() {
local myeconfargs=(
- --htmldir=/usr/share/doc/${PF}/html
+ --htmldir=${EPREFIX}/usr/share/doc/${PF}/html
)
autotools-multilib_src_configure
}
(In reply to Jeroen Roovers from comment #1) > Comment on attachment 352586 [details] > Ebuild that takes $EPREFIX into account. > > --- libogg-1.3.1.ebuild 2013-06-29 14:36:37.448855121 +0200 > +++ - 2013-07-04 15:11:11.968240810 +0200 > @@ -26,7 +26,7 @@ > > src_configure() { > local myeconfargs=( > - --htmldir=/usr/share/doc/${PF}/html > + --htmldir=${EPREFIX}/usr/share/doc/${PF}/html > ) > autotools-multilib_src_configure > } should be quoted then @prefix team: feel free to apply (or I'll do when I'll can) Thanks all! I've committed the quoted version |
Created attachment 352586 [details] Ebuild that takes $EPREFIX into account. The ebuild for libogg-1.3.1 explicitly tries to install the HTML documentation into /usr/share/doc, disregarding $EPREFIX. This breaks installs in Gentoo-prefix. A corrected version of the ebuild is attached.