I tried emerging fortune and setting offensive to 1 in the ebuild and it still
doesnt install the "offensive" stuff...
I have a fix. $offensive wasn't being checked in the ebuild. The Makefile that
comes with the tarball sets the offensive parameter to 1 by default; the sed
expression in the ebuild changes this Makefile parameter to unset even if
$offensive is 1.
There are now two cases in the ebuild: offensive or not offensive. In the
offensive case, I removed the sed subexpression that unsets the offensive
Makefile parameter. In the not offensive case, I used the same sed expression.
Side note: I made $offensive global, so that it could be used in src_compile and
I have tested this on x86 gentoo 1.2 for three cases: $offensive=1,
$offensive=0, and $offensive= ($offensive unset). I guess it still needs to be
tested on PPC, though it should work there as well.
I realize this description may not be so clear. The code should be... Let me
know if this works out. It's my first gentoo fix, and I could use the feedback.
Created attachment 2351 [details]
This is the patched ebuild I described earlier.