summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/patchsets/glibc/2.3.6/1030_all_glibc-manual-no-perl.patch3
-rw-r--r--src/patchsets/glibc/2.4/1030_all_glibc-manual-no-perl.patch3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/patchsets/glibc/2.3.6/1030_all_glibc-manual-no-perl.patch b/src/patchsets/glibc/2.3.6/1030_all_glibc-manual-no-perl.patch
index 0ab7745c0e..555a433cbf 100644
--- a/src/patchsets/glibc/2.3.6/1030_all_glibc-manual-no-perl.patch
+++ b/src/patchsets/glibc/2.3.6/1030_all_glibc-manual-no-perl.patch
@@ -6,7 +6,7 @@ http://bugs.gentoo.org/60132
--- libc/manual/Makefile
+++ libc/manual/Makefile
-@@ -104,9 +104,13 @@
+@@ -104,9 +104,14 @@
libm-err.texi: stamp-libm-err
stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\
$(dir)/libm-test-ulps))
@@ -16,6 +16,7 @@ http://bugs.gentoo.org/60132
$(move-if-change) libm-err-tmp libm-err.texi
+else
+ echo "Unable to rebuild math docs, no perl installed"
++ touch libm-err.texi
+endif
touch $@
diff --git a/src/patchsets/glibc/2.4/1030_all_glibc-manual-no-perl.patch b/src/patchsets/glibc/2.4/1030_all_glibc-manual-no-perl.patch
index 0ab7745c0e..555a433cbf 100644
--- a/src/patchsets/glibc/2.4/1030_all_glibc-manual-no-perl.patch
+++ b/src/patchsets/glibc/2.4/1030_all_glibc-manual-no-perl.patch
@@ -6,7 +6,7 @@ http://bugs.gentoo.org/60132
--- libc/manual/Makefile
+++ libc/manual/Makefile
-@@ -104,9 +104,13 @@
+@@ -104,9 +104,14 @@
libm-err.texi: stamp-libm-err
stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\
$(dir)/libm-test-ulps))
@@ -16,6 +16,7 @@ http://bugs.gentoo.org/60132
$(move-if-change) libm-err-tmp libm-err.texi
+else
+ echo "Unable to rebuild math docs, no perl installed"
++ touch libm-err.texi
+endif
touch $@