diff options
author | Michael G. Schwern <schwern@pobox.com> | 2003-11-04 09:59:13 -0800 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-11-05 08:07:14 +0000 |
commit | 5ea525d0de039812e70221e734564f5bfd21c4be (patch) | |
tree | 12b66338ed5495f8295f96c8775278d75eeba3bf /ext/SDBM_File/sdbm | |
parent | d7449b02c4549caa1b82f58e67506c6c718fc687 (diff) | |
download | perl-5ea525d0de039812e70221e734564f5bfd21c4be.tar.gz |
Re: [ANNOUNCE] ExtUtils::MakeMaker 6.19
Message-ID: <20031105015913.GL15406@localhost.comcast.net>
Replaces the temporary kludge (#21655).
p4raw-id: //depot/perl@21657
Diffstat (limited to 'ext/SDBM_File/sdbm')
-rw-r--r-- | ext/SDBM_File/sdbm/Makefile.PL | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/ext/SDBM_File/sdbm/Makefile.PL b/ext/SDBM_File/sdbm/Makefile.PL index 2b09defbae..91d8172841 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; } |