1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/ports-2.10.1/160-manual-no-perl.patch Tue Dec 13 23:32:39 2011 +0100
1.3 @@ -0,0 +1,24 @@
1.4 +If we're using a cvs snapshot which updates the source files, and
1.5 +perl isn't installed yet, then we can't regen the docs. Not a big
1.6 +deal, so just whine a little and continue on our merry way.
1.7 +
1.8 +http://bugs.gentoo.org/60132
1.9 +
1.10 +diff -durN glibc-2.10.1.orig/manual/Makefile glibc-2.10.1/manual/Makefile
1.11 +--- glibc-2.10.1.orig/manual/Makefile 2006-01-08 07:43:47.000000000 +0100
1.12 ++++ glibc-2.10.1/manual/Makefile 2009-11-13 00:49:54.000000000 +0100
1.13 +@@ -104,9 +104,14 @@
1.14 + libm-err.texi: stamp-libm-err
1.15 + stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\
1.16 + $(dir)/libm-test-ulps))
1.17 ++ifneq ($(PERL),no)
1.18 + pwd=`pwd`; \
1.19 + $(PERL) $< $$pwd/.. > libm-err-tmp
1.20 + $(move-if-change) libm-err-tmp libm-err.texi
1.21 ++else
1.22 ++ echo "Unable to rebuild math docs, no perl installed"
1.23 ++ touch libm-err.texi
1.24 ++endif
1.25 + touch $@
1.26 +
1.27 + # Generate Texinfo files from the C source for the example programs.