From: Craig A. Berry Date: Thu, 4 Dec 2003 16:00:03 +0000 (-0600) Subject: another ext/SDBM_File/sdbm build fix X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=47598e24a8afddc2c6eba0ff1187d371773c66c5;p=p5sagit%2Fp5-mst-13.2.git another ext/SDBM_File/sdbm build fix From: "Craig A. Berry" Message-ID: <3FCFAE63.1080106@mac.com> p4raw-id: //depot/perl@21843 --- diff --git a/ext/SDBM_File/sdbm/Makefile.PL b/ext/SDBM_File/sdbm/Makefile.PL index 3cf98d3..1859aae 100644 --- a/ext/SDBM_File/sdbm/Makefile.PL +++ b/ext/SDBM_File/sdbm/Makefile.PL @@ -31,6 +31,7 @@ sub constants { sub top_targets { my $self = shift; + return $self->SUPER::top_targets if $^O eq 'VMS'; my $r = ' all :: static $(NOECHO) $(NOOP) @@ -38,14 +39,12 @@ all :: static lint: lint -abchx $(LIBSRCS) -'; - $r .= ' # This is a workaround, the problem is that our old GNU make exports # variables into the environment so $(MYEXTLIB) is set in here to this # value which can not be built. sdbm/libsdbm.a: $(NOECHO) $(NOOP) -' unless $^O eq 'VMS'; +'; return $r . $self->SUPER::top_targets; }