dev-lang/perl: stop installing config_data files #553726
authorMike Frysinger <vapier@gentoo.org>
Thu, 8 Oct 2015 12:02:51 +0000 (08:02 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 8 Oct 2015 12:07:58 +0000 (08:07 -0400)
The Module-Build package now always installs the config_data files
which leads to build failures in the default config:
 - FEATURES="collision-protect -protect-owned"
 - perl creates orphaned config_data symlink
 - Module-Build fails during merge when it installs config_data

Since this version of perl and Module-Build are stable now, there's
no need to install the config_data files at all.  Simply delete them.

dev-lang/perl/perl-5.20.2-r1.ebuild
dev-lang/perl/perl-5.20.2.ebuild

index 31c32d1a0c2273330a78eed9a7745fbc18133c09..17997bee9497eafa1c98b5c6cf7d8a3cc39872e0 100644 (file)
@@ -57,13 +57,15 @@ dual_scripts() {
        src_remove_dual      perl-core/ExtUtils-ParseXS   3.240.0      xsubpp
        src_remove_dual      perl-core/IO-Compress        2.64.0       zipdetails
        src_remove_dual      perl-core/JSON-PP            2.272.30      json_pp
-       src_remove_dual      perl-core/Module-Build       0.420.500    config_data
        src_remove_dual      perl-core/Module-CoreList    5.201.502.140 corelist
        src_remove_dual      perl-core/Pod-Parser         1.620.0      pod2usage podchecker podselect
        src_remove_dual      perl-core/Pod-Perldoc        3.230.0      perldoc
        src_remove_dual      perl-core/Test-Harness       3.330.0      prove
        src_remove_dual      perl-core/podlators          2.5.3        pod2man pod2text
        src_remove_dual_man  perl-core/podlators          2.5.3        /usr/share/man/man1/perlpodstyle.1
+       if [[ ${EBUILD_PHASE} == "install" ]] ; then #553726
+               rm "${ED}"/usr/bin/config_data "${ED}"/usr/share/man/man1/config_data.1 || die
+       fi
 }
 
 # eblit-include [--skip] <function> [version]
index 0385c8cdb8d8d2439eade6e412ce59291674f5df..f652574f2b5c7a723d14b5a4c75d7b9fc7b11382 100644 (file)
@@ -57,13 +57,15 @@ dual_scripts() {
        src_remove_dual      perl-core/ExtUtils-ParseXS   3.240.0      xsubpp
        src_remove_dual      perl-core/IO-Compress        2.64.0       zipdetails
        src_remove_dual      perl-core/JSON-PP            2.272.30      json_pp
-       src_remove_dual      perl-core/Module-Build       0.420.500    config_data
        src_remove_dual      perl-core/Module-CoreList    5.201.502.140 corelist
        src_remove_dual      perl-core/Pod-Parser         1.620.0      pod2usage podchecker podselect
        src_remove_dual      perl-core/Pod-Perldoc        3.230.0      perldoc
        src_remove_dual      perl-core/Test-Harness       3.330.0      prove
        src_remove_dual      perl-core/podlators          2.5.3        pod2man pod2text
        src_remove_dual_man  perl-core/podlators          2.5.3        /usr/share/man/man1/perlpodstyle.1
+       if [[ ${EBUILD_PHASE} == "install" ]] ; then #553726
+               rm "${ED}"/usr/bin/config_data "${ED}"/usr/share/man/man1/config_data.1 || die
+       fi
 }
 
 # eblit-include [--skip] <function> [version]