summaryrefslogtreecommitdiff
path: root/www/p5-HTML-Parser/files/patch-Makefile.PL
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2000-10-13 02:38:44 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2000-10-13 02:38:44 +0000
commitb05df5b5cecc9e2339932abaa67e41eb1a804517 (patch)
tree68a2a1ec80d2b343511864ed0016647e5ca22132 /www/p5-HTML-Parser/files/patch-Makefile.PL
parentUpgrade to 2.12, and change MASTER_SITE_SUBDIR. (diff)
Upgrade to 3.13, and add DEPENDS to p5-HTML-Tagset.
Diffstat (limited to '')
-rw-r--r--www/p5-HTML-Parser/files/patch-Makefile.PL23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/p5-HTML-Parser/files/patch-Makefile.PL b/www/p5-HTML-Parser/files/patch-Makefile.PL
new file mode 100644
index 000000000000..c9ebc2def493
--- /dev/null
+++ b/www/p5-HTML-Parser/files/patch-Makefile.PL
@@ -0,0 +1,23 @@
+--- Makefile.PL.orig Fri Oct 13 08:53:50 2000
++++ Makefile.PL Fri Oct 13 09:29:25 2000
+@@ -10,19 +10,7 @@
+ }
+
+ if ($] >= 5.006) {
+- print <<"EOT";
+-
+-Perl-5.6 provide experimental core support for Unicode strings. You
+-can compile HTML::Entities so that Unicode entities like &euro; and
+-&#x20AC; are decoded into a string containing "\\x{20AC}". If you
+-select no to the question below such entities will be left alone and
+-only entities in the Latin-1 range is decoded.
+-
+-EOT
+- my $ans = prompt("Do you want decoding on unicode entities?", "no");
+- if ($ans =~ /^y(es)?$/i) {
+- push(@define, "-DUNICODE_ENTITIES");
+- }
++ push(@define, "-DUNICODE_ENTITIES");
+ }
+ push(@extra, "DEFINE" => "@define") if @define;
+