Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475720 - media-libs/libogg-1.3.1 does not honor $EPREFIX
Summary: media-libs/libogg-1.3.1 does not honor $EPREFIX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-07-04 09:47 UTC by Andrej Lajovic
Modified: 2013-07-04 14:41 UTC (History)
1 user (show)

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


Attachments
Ebuild that takes $EPREFIX into account. (libogg-1.3.1-r1.ebuild,997 bytes, text/plain)
2013-07-04 09:47 UTC, Andrej Lajovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Lajovic 2013-07-04 09:47:36 UTC
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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-04 13:11:18 UTC
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
 }
Comment 2 Alexis Ballier gentoo-dev 2013-07-04 14:29:13 UTC
(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)
Comment 3 Fabian Groffen gentoo-dev 2013-07-04 14:41:45 UTC
Thanks all!  I've committed the quoted version