[openssl-dev] OpenSSL-1.1 make depend

Salz, Rich rsalz at akamai.com
Thu Jan 21 01:55:24 UTC 2016


> Just a confirmation that this isn't specific to that setup:
> the same happens on OpenBSD (e.g., 5.3) with gcc.

Does something like this fix it? 

; g diff util/clean-depend.pl
diff --git a/util/clean-depend.pl b/util/clean-depend.pl
index f29192f..1ace994 100755
--- a/util/clean-depend.pl
+++ b/util/clean-depend.pl
@@ -18,8 +18,9 @@ my %files;

 # Fetch all the dependency output first
 my $thisfile="";
-while(<STDIN>) {
-    my ($dummy, $file,$deps)=/^((.*):)? (.*)$/;
+while(my $line = <STDIN>) {
+    while ($line =~ /\\$/) { chop($line); chop($line); $line .= <STDIN>; }
+    my ($dummy, $file,$deps)=$line =~ m/^((.*):)? (.*)$/;
     $thisfile=$file if defined $file;
     next if !defined $deps;
     my @deps=split ' ',$deps;
;


More information about the openssl-dev mailing list