summaryrefslogtreecommitdiff
path: root/ext/SDBM_File/sdbm
diff options
context:
space:
mode:
authorDan Sugalski <dan@sidhe.org>1998-06-01 05:05:47 -0700
committerGurusamy Sarathy <gsar@cpan.org>1998-06-10 06:14:24 +0000
commitffea517817df4c5e05e0c6684371af192a537899 (patch)
tree14a9cdadcf86326dc7b9d4f2a4980c378b3d47d5 /ext/SDBM_File/sdbm
parent108ed793354cb72d90a06de859702b8d730ce020 (diff)
downloadperl-ffea517817df4c5e05e0c6684371af192a537899.tar.gz
A tweaked version of:
Message-Id: <980601120547.20617d54@cedar.osshe.edu> Subject: [PATCH 5.004_66] Fix problem with SDBM makefile on VMS p4raw-id: //depot/perl@1090
Diffstat (limited to 'ext/SDBM_File/sdbm')
-rw-r--r--ext/SDBM_File/sdbm/Makefile.PL10
1 files changed, 7 insertions, 3 deletions
diff --git a/ext/SDBM_File/sdbm/Makefile.PL b/ext/SDBM_File/sdbm/Makefile.PL
index 6003628247..7008e6d471 100644
--- a/ext/SDBM_File/sdbm/Makefile.PL
+++ b/ext/SDBM_File/sdbm/Makefile.PL
@@ -28,7 +28,7 @@ INST_STATIC = libsdbm$(LIB_EXT)
}
sub MY::top_targets {
- '
+ my $r = '
all :: static
$(NOECHO) $(NOOP)
@@ -38,10 +38,14 @@ config ::
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:
- true
-';
+ $(NOECHO) $(NOOP)
+' unless $^O eq 'VMS';
+
+ return $r;
}