media-video/ffmpeg: let the build system install and decide whether to install docs.
authorAlexis Ballier <aballier@gentoo.org>
Mon, 15 Feb 2016 11:56:28 +0000 (12:56 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 15 Feb 2016 12:17:15 +0000 (13:17 +0100)
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
media-video/ffmpeg/ffmpeg-9999.ebuild

index 830fa7780e3219392ff6e4ec66db2d3569f468ed..045efbebd4badf32b9e794ed54914d28c63c9e73 100644 (file)
@@ -411,7 +411,11 @@ multilib_src_configure() {
        fi
 
        # doc
-       myconf+=( $(multilib_native_use_enable doc) )
+       myconf+=(
+               $(multilib_native_use_enable doc)
+               $(multilib_native_use_enable doc htmlpages)
+               $(multilib_native_enable manpages)
+       )
 
        set -- "${S}/configure" \
                --prefix="${EPREFIX}/usr" \
@@ -443,7 +447,7 @@ multilib_src_compile() {
 }
 
 multilib_src_install() {
-       emake V=1 DESTDIR="${D}" install install-man
+       emake V=1 DESTDIR="${D}" install install-doc
 
        if multilib_is_native_abi; then
                for i in "${FFTOOLS[@]}" ; do