Rafael Garcia-Suarez wrote:
> Michael G Schwern wrote:
> > http://www.pobox.com/~schwern/src/ExtUtils-MakeMaker-6.27.tar.gz
> > or
> > http://svn.schwern.org/svn/CPAN/ExtUtils-MakeMaker/trunk
> > or
> > a CPAN near you
> 
> There are two problems with this release, when integrating into blead.
> 
> First, "make distclean" in bleadperl is broken. All .pm files the build
> process has installed from ext/ to lib/ are left there.

Well, after a bit of tracking, I notice this new comment in
MM_Any::clean() :

        # XXX normally this would be a good idea, but the Perl core sets
        # INST_LIB = ../../lib rather than actually installing the files.
        # So a "make clean" in an ext/ directory would blow away lib.
        # Until the core is adjusted let's leave this out.
    #     push @dirs, qw($(INST_ARCHLIB) $(INST_LIB)
    #                    $(INST_BIN) $(INST_SCRIPT)
    #                    $(INST_MAN1DIR) $(INST_MAN3DIR)
    #                    $(INST_LIBDIR) $(INST_ARCHLIBDIR) $(INST_AUTODIR) 
    #                    $(INST_STATIC) $(INST_DYNAMIC) $(INST_BOOT)
    #                 );

(The second problem I reported is a side-effect of the first.)

So I'm guessing that clean() was refactored in something less forgiving,
and that the special-casing for the core was accidentally removed. I'm a
bit lost in the huge diff between the core's current makemaker and 6.27,
so any hint is welcome...

Reply via email to