summaryrefslogtreecommitdiff
path: root/ext/SDBM_File
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2003-12-04 10:00:03 -0600
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-12-05 07:13:08 +0000
commit47598e24a8afddc2c6eba0ff1187d371773c66c5 (patch)
treef5b3be76e1398c257f897080b1b3156d8269af66 /ext/SDBM_File
parent39bd0f18b4bccd2fa3176747640b8ecf99930080 (diff)
downloadperl-47598e24a8afddc2c6eba0ff1187d371773c66c5.tar.gz
another ext/SDBM_File/sdbm build fix
From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <3FCFAE63.1080106@mac.com> p4raw-id: //depot/perl@21843
Diffstat (limited to 'ext/SDBM_File')
-rw-r--r--ext/SDBM_File/sdbm/Makefile.PL5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/SDBM_File/sdbm/Makefile.PL b/ext/SDBM_File/sdbm/Makefile.PL
index 3cf98d377f..1859aaeb04 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;
}