sys-apps/firejail-lts: Install docs in directory with full version
authorAmadeusz Żołnowski <aidecoe@gentoo.org>
Fri, 27 Jan 2017 22:07:04 +0000 (22:07 +0000)
committerAmadeusz Żołnowski <aidecoe@gentoo.org>
Fri, 27 Jan 2017 22:20:14 +0000 (22:20 +0000)
Don't install license file.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

sys-apps/firejail-lts/firejail-lts-0.9.38.10.ebuild

index d57adf1357e483fd4d2568639def1d0feb22aa14..825585245cbbd0614777a75ad26e4852c89a53d6 100644 (file)
@@ -25,10 +25,13 @@ S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
        find -name Makefile.in -exec sed -i -r \
+                       -e '/^\tinstall .*COPYING /d' \
                        -e '/CFLAGS/s: (-O2|-ggdb) : :g' \
                        -e '1iCC=@CC@' {} + || die
 }
 
 src_configure() {
-       econf $(use_enable seccomp)
+       econf \
+               --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+               $(use_enable seccomp)
 }