Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/graphics/IPA/files/patch-Makefile.PL
16124 views
1
Fix regular expression match and build with MakeMaker >= 7.05_05 which adds a
2
space between the target name and the operator.
3
4
--- Makefile.PL.orig 2011-05-14 06:27:26 UTC
5
+++ Makefile.PL
6
@@ -79,8 +79,8 @@ H
7
sub c_o
8
{
9
my $t = shift-> SUPER::c_o(@_);
10
- unless ( $t =~ /.c\$\(OBJ_EXT\):\n\t.*\$\*\$\(OBJ_EXT\)/ ) {
11
- $t =~ s/(\.c\$\(OBJ_EXT\):\n\t.*)/$1 $co\$*\$(OBJ_EXT)/;
12
+ unless ( $t =~ /\.c\$\(OBJ_EXT\)\s*:\n\t.*\Q\$\*\$\(OBJ_EXT\)\E/ ) {
13
+ $t =~ s/(\.c\$\(OBJ_EXT\)\s*:\n\t.*)/$1 $co\$*\$(OBJ_EXT)/;
14
}
15
return $t;
16
}
17
18