summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-27 03:47:17 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-27 03:47:17 +0000
commit54c349033fb9ef5965aa15783539bd4ccf07fab6 (patch)
treee5c9f48c11b54c1699d6529160b63475f3a0e2a0 /sys-apps/groff/files
parentold (diff)
downloadgentoo-2-54c349033fb9ef5965aa15783539bd4ccf07fab6.tar.gz
gentoo-2-54c349033fb9ef5965aa15783539bd4ccf07fab6.tar.bz2
gentoo-2-54c349033fb9ef5965aa15783539bd4ccf07fab6.zip
Update the netpbm to work with shells that suck (like on SunOS) #89174.
(Portage version: 2.0.51.20-r4)
Diffstat (limited to 'sys-apps/groff/files')
-rw-r--r--sys-apps/groff/files/groff-1.18-no-netpbm-depend.patch27
1 files changed, 22 insertions, 5 deletions
diff --git a/sys-apps/groff/files/groff-1.18-no-netpbm-depend.patch b/sys-apps/groff/files/groff-1.18-no-netpbm-depend.patch
index 5a6817e614e4..1ec42fce9616 100644
--- a/sys-apps/groff/files/groff-1.18-no-netpbm-depend.patch
+++ b/sys-apps/groff/files/groff-1.18-no-netpbm-depend.patch
@@ -1,19 +1,36 @@
+Don't install the example files. The second hunk is to workaround
+shells that suck at life.
+
+http://bugs.gentoo.org/show_bug.cgi?id=89174
+
--- groff-1.18/doc/Makefile.sub
+++ groff-1.18/doc/Makefile.sub
-@@ -60,12 +60,14 @@
+@@ -60,12 +60,12 @@
HTMLDOCIMAGEFILES=\
pic*
-EXAMPLEFILES=\
-+EXAMPLEFILES=
-+EXAMPLEFILES_IGNORE=\
++EXAMPLEFILES=#\
webpage.ms \
grnexmpl.g \
grnexmpl.me
-PROCESSEDEXAMPLEFILES=\
-+PROCESSEDEXAMPLEFILES=
-+PROCESSEDEXAMPLEFILES_IGNORE=\
++PROCESSEDEXAMPLEFILES=#\
webpage.ps \
gnu.eps \
gnu.png \
+@@ -170,11 +170,11 @@
+ $(INSTALL_DATA) $$f $(docdir)/$$f; \
+ done
+ -test -d $(exampledir) || $(mkinstalldirs) $(exampledir)
+- for f in $(EXAMPLEFILES); do \
++ list="$(EXAMPLEFILES)"; for f in $${list}; do \
+ rm -f $(exampledir)/$$f; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(exampledir)/$$f; \
+ done
+- for f in $(PROCESSEDEXAMPLEFILES); do \
++ list="$(PROCESSEDEXAMPLEFILES)"; for f in $${list}; do \
+ rm -f $(exampledir)/$$f; \
+ $(INSTALL_DATA) $$f $(exampledir)/$$f; \
+ done