summaryrefslogtreecommitdiff
path: root/dev-libs/openssl-compat/files/openssl-1.1.0j-parallel_install_fix.patch
blob: c837e208cf6a2a20f6538a57e3e617e187b888cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
https://github.com/openssl/openssl/issues/7679

--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -77,8 +77,14 @@
      # to. You're welcome.
      sub dependmagic {
          my $target = shift;
-
-         return "$target: build_generated\n\t\$(MAKE) depend && \$(MAKE) _$target\n_$target";
+		  my $magic = <<"_____";
+$target: build_generated depend
+		 \$(MAKE) _$target
+_$target
+_____
+		 # Remove line ending
+		 $magic =~ s|\R$||;
+		 return $magic;
      }
      '';
 -}