Index: groff-1.19.1-r2.ebuild =================================================================== RCS file: /cvsroot/wamas-portage/sys-apps/groff/groff-1.19.1-r2.ebuild,v retrieving revision 1.2 diff -u -r1.2 groff-1.19.1-r2.ebuild --- groff-1.19.1-r2.ebuild 12 Apr 2005 08:00:20 -0000 1.2 +++ groff-1.19.1-r2.ebuild 15 Apr 2005 12:59:23 -0000 @@ -28,6 +28,8 @@ # Do not generate example files that require us to # depend on netpbm. epatch ${FILESDIR}/groff-1.18-no-netpbm-depend.patch + # Let this patch work with non-bash shells too (#89174). + epatch ${FILESDIR}/groff-1.18-no-netpbm-depend-nobash.patch # Make dashes the same as minus on the keyboard so that you # can search for it. Fixes #17580 and #16108 Index: files/groff-1.18-no-netpbm-depend-nobash.patch =================================================================== RCS file: files/groff-1.18-no-netpbm-depend-nobash.patch diff -N files/groff-1.18-no-netpbm-depend-nobash.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/groff-1.18-no-netpbm-depend-nobash.patch 15 Apr 2005 12:59:23 -0000 @@ -0,0 +1,17 @@ +diff -ruN groff-1.19.1.orig/doc/Makefile.sub groff-1.19.1/doc/Makefile.sub +--- groff-1.19.1.orig/doc/Makefile.sub 2005-04-15 14:18:52.920003000 +0200 ++++ groff-1.19.1/doc/Makefile.sub 2005-04-15 14:21:05.390002000 +0200 +@@ -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