diff options
author | Hans de Graaff <graaff@gentoo.org> | 2009-10-18 11:41:51 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2009-10-18 11:41:51 +0000 |
commit | 194f4724f0e73f25cb9bfd90a5bbdae6d0fcff89 (patch) | |
tree | 06d7858f0673c90549d882518a2500d8569885b9 /dev-lang/wml/files | |
parent | Version bump and add patch to build with 2.6.32. Move the ietd binary to /usr... (diff) | |
download | gentoo-2-194f4724f0e73f25cb9bfd90a5bbdae6d0fcff89.tar.gz gentoo-2-194f4724f0e73f25cb9bfd90a5bbdae6d0fcff89.tar.bz2 gentoo-2-194f4724f0e73f25cb9bfd90a5bbdae6d0fcff89.zip |
Fix compliation with perl 5.10.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/wml/files')
-rw-r--r-- | dev-lang/wml/files/wml-2.0.11-perl510.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-lang/wml/files/wml-2.0.11-perl510.patch b/dev-lang/wml/files/wml-2.0.11-perl510.patch new file mode 100644 index 000000000000..9b29b31cbeec --- /dev/null +++ b/dev-lang/wml/files/wml-2.0.11-perl510.patch @@ -0,0 +1,32 @@ +diff -ur wml-2.0.11.old/wml_backend/p3_eperl/configure wml-2.0.11/wml_backend/p3_eperl/configure +--- wml-2.0.11.old/wml_backend/p3_eperl/configure 2009-09-22 03:02:03.000000000 +0300 ++++ wml-2.0.11/wml_backend/p3_eperl/configure 2009-09-22 03:04:58.000000000 +0300 +@@ -1971,7 +1971,11 @@ + #define HAVE_PERL_DYNALOADER 1 + _ACEOF + +- perl_dla=$perl_archlib/auto/DynaLoader/DynaLoader.a ++ if test -f $perl_archlib/auto/DynaLoader/DynaLoader.a; then ++ perl_dla=$perl_archlib/auto/DynaLoader/DynaLoader.a ++ else ++ perl_dla= ++ fi + ;; + * ) + rc=no +diff -ur wml-2.0.11.old/wml_backend/p3_eperl/configure.in wml-2.0.11/wml_backend/p3_eperl/configure.in +--- wml-2.0.11.old/wml_backend/p3_eperl/configure.in 2009-09-22 03:02:03.000000000 +0300 ++++ wml-2.0.11/wml_backend/p3_eperl/configure.in 2009-09-22 03:04:29.000000000 +0300 +@@ -159,7 +159,11 @@ + define ) + rc=yes + AC_DEFINE(HAVE_PERL_DYNALOADER) +- perl_dla=$perl_archlib/auto/DynaLoader/DynaLoader.a ++ if test -f $perl_archlib/auto/DynaLoader/DynaLoader.a; then ++ perl_dla=$perl_archlib/auto/DynaLoader/DynaLoader.a ++ else ++ perl_dla= ++ fi + ;; + * ) + rc=no |