summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-10-04 08:51:45 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-10-04 08:51:45 +0000
commit6b1baa8f1b754a0cdd58d483b2e98ab9bdd64075 (patch)
tree8f37fb85ee290ac82c8b7ba01fa7f11dbc12d4a3 /gnu/usr.bin
parent9be0fb282aaa5bba235de847773095bfc13465a6 (diff)
Fix a bug in an internal perl build script fragment that caused a bogus
Makefile to be built for the sdbm library subdir.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm b/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm
index 8afae260385..332a6c6912c 100644
--- a/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm
+++ b/gnu/usr.bin/perl/lib/ExtUtils/MM_Unix.pm
@@ -1,7 +1,7 @@
package ExtUtils::MM_Unix;
-$VERSION = substr q$Revision: 1.1 $, 10;
-# $Id: MM_Unix.pm,v 1.1 1996/08/19 10:12:39 downsj Exp $
+$VERSION = substr q$Revision: 1.2 $, 10;
+# $Id: MM_Unix.pm,v 1.2 1996/10/04 08:51:44 downsj Exp $
require Exporter;
use Config;
@@ -2544,7 +2544,9 @@ realclean purge :: clean
push(@m, " $self->{RM_F} \$(INST_DYNAMIC) \$(INST_BOOT)\n");
push(@m, " $self->{RM_F} \$(INST_STATIC)\n");
}
- push(@m, " $self->{RM_F} " . join(" ", values %{$self->{PM}}) . "\n");
+ if ( values %{$self->{PM}} ){
+ push(@m, " $self->{RM_F} " . join(" ", values %{$self->{PM}}) . "\n");
+ }
my(@otherfiles) = ($self->{MAKEFILE},
"$self->{MAKEFILE}.old"); # Makefiles last
push(@otherfiles, $attribs{FILES}) if $attribs{FILES};