diff options
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 |