summaryrefslogtreecommitdiff
path: root/print/p5-PDF-Template/files/extrapatch-Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'print/p5-PDF-Template/files/extrapatch-Makefile.PL')
-rw-r--r--print/p5-PDF-Template/files/extrapatch-Makefile.PL15
1 files changed, 15 insertions, 0 deletions
diff --git a/print/p5-PDF-Template/files/extrapatch-Makefile.PL b/print/p5-PDF-Template/files/extrapatch-Makefile.PL
new file mode 100644
index 000000000000..88447806c06a
--- /dev/null
+++ b/print/p5-PDF-Template/files/extrapatch-Makefile.PL
@@ -0,0 +1,15 @@
+fix sh: Syntax error: Unterminated quoted string
+
+--- Makefile.PL.orig 2025-07-13 09:16:55 UTC
++++ Makefile.PL
+@@ -28,8 +28,8 @@ my $pm_filter = $use_unicode
+ }
+
+ my $pm_filter = $use_unicode
+- ? q{perl -pi -e "s!UNI_YES ! !g;s!UNI_NO !\\#!g"}
+- : q{perl -pi -e "s!UNI_NO ! !g;s!UNI_YES !\\#!g"};
++ ? q{sed -e "s/UNI_YES//g;s/UNI_NO.*//g"}
++ : q{sed -e "s/UNI_NO//g;s/UNI_YES.*//g"};
+
+ WriteMakefile(
+ NAME => 'PDF::Template',