From: Dan Sugalski Date: Mon, 1 Jun 1998 12:05:47 +0000 (-0700) Subject: A tweaked version of: X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ffea517817df4c5e05e0c6684371af192a537899;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/ext/SDBM_File/sdbm/Makefile.PL b/ext/SDBM_File/sdbm/Makefile.PL index 6003628..7008e6d 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; }