Summary: | groff fails to compile with non-bash shell due to groff-1.18-no-netpbm-depend.patch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Haubenwallner (RETIRED) <haubi> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | let groff compile with non-bash shells too |
Description
Michael Haubenwallner (RETIRED)
2005-04-15 05:58:21 UTC
Created attachment 56349 [details, diff]
let groff compile with non-bash shells too
the netpbm patch is just very ugly anyways ... should rewrite it to not suck ... changed the patch so it sets the variables to '' rather than '# ...' Well, the macros _are_ already empty, the '#' is seen by _make_ as a comment. The problem is the shell-code (part 2 in my patch), where _make_ calls the shell like this: system("/bin/sh -c 'for f in ; do ...'") The non-bash-Shell does not accept the "for f in ; do ...", but would accept "for f in ${list} ; do ..." where ${list} expands to empty. *now* you tell me :P updated the netpbm patch |