summaryrefslogtreecommitdiff
path: root/ext/SDBM_File
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2003-11-04 09:59:13 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-11-05 08:07:14 +0000
commit5ea525d0de039812e70221e734564f5bfd21c4be (patch)
tree12b66338ed5495f8295f96c8775278d75eeba3bf /ext/SDBM_File
parentd7449b02c4549caa1b82f58e67506c6c718fc687 (diff)
downloadperl-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')
-rw-r--r--ext/SDBM_File/sdbm/Makefile.PL17
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;
}