From: Michael G. Schwern Date: Tue, 4 Nov 2003 17:59:13 +0000 (-0800) Subject: Re: [ANNOUNCE] ExtUtils::MakeMaker 6.19 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5ea525d0de039812e70221e734564f5bfd21c4be;p=p5sagit%2Fp5-mst-13.2.git Re: [ANNOUNCE] ExtUtils::MakeMaker 6.19 Message-ID: <20031105015913.GL15406@localhost.comcast.net> Replaces the temporary kludge (#21655). p4raw-id: //depot/perl@21657 --- diff --git a/ext/SDBM_File/sdbm/Makefile.PL b/ext/SDBM_File/sdbm/Makefile.PL index 2b09def..91d8172 100644 --- a/ext/SDBM_File/sdbm/Makefile.PL +++ b/ext/SDBM_File/sdbm/Makefile.PL @@ -20,8 +20,9 @@ WriteMakefile( C => [qw(sdbm.c pair.c hash.c)] ); -sub MY::constants { - package MY; + +package MY; +sub constants { my $self = shift; $self->{INST_STATIC} = 'libsdbm$(LIB_EXT)'; @@ -29,21 +30,15 @@ sub MY::constants { return $self->SUPER::constants(); } -sub MY::top_targets { +sub top_targets { + my $self = shift; my $r = ' all :: static $(NOECHO) $(NOOP) -config :: - $(NOECHO) $(NOOP) - lint: lint -abchx $(LIBSRCS) -# temporary kludge -blibdirs: - $(MKPATH) $(INST_ARCHAUTODIR) - '; $r .= ' # This is a workaround, the problem is that our old GNU make exports @@ -53,5 +48,5 @@ sdbm/libsdbm.a: $(NOECHO) $(NOOP) ' unless $^O eq 'VMS'; - return $r; + return $r . $self->SUPER::top_targets; }