aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-09-12 03:47:31 +0800
committertobez <tobez@FreeBSD.org>2005-09-12 03:47:31 +0800
commitec3f1dab5aa5a9c026c2ea1e93c1ab238d12115d (patch)
tree6f8277607e13ef3afe43d1ded16b8811eda12eb1
parentb929fde7fdadea94e3a660e03e0383068d9cd456 (diff)
downloadfreebsd-ports-gnome-ec3f1dab5aa5a9c026c2ea1e93c1ab238d12115d.tar.gz
freebsd-ports-gnome-ec3f1dab5aa5a9c026c2ea1e93c1ab238d12115d.tar.zst
freebsd-ports-gnome-ec3f1dab5aa5a9c026c2ea1e93c1ab238d12115d.zip
Fix build with older perls.
Noticed by: leeym
-rw-r--r--lang/p5-Scalar-List-Utils/files/patch-Makefile.PL10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/p5-Scalar-List-Utils/files/patch-Makefile.PL b/lang/p5-Scalar-List-Utils/files/patch-Makefile.PL
new file mode 100644
index 000000000000..62f5c14ff230
--- /dev/null
+++ b/lang/p5-Scalar-List-Utils/files/patch-Makefile.PL
@@ -0,0 +1,10 @@
+--- Makefile.PL.orig Sun Sep 11 21:43:16 2005
++++ Makefile.PL Sun Sep 11 21:43:37 2005
+@@ -18,6 +18,7 @@ license ('perl');
+
+ makemaker_args ( XS => {}, C => []) unless $do_xs;
+ makemaker_args ( DEFINE => "-DPERL_EXT",);
++makemaker_args ( TYPEMAPS => ["mytypemap"]) unless $] >= 5.006_01;
+
+ installdirs (qw(Scalar::Util List::Util));
+