Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273800 - games-misc/fortune-mod-slackware: setup phase incorrectly terminates if ! use offensive
Summary: games-misc/fortune-mod-slackware: setup phase incorrectly terminates if ! use...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 01:05 UTC by Doug Whitesell
Modified: 2009-06-12 21:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,231 bytes, text/plain)
2009-06-12 01:06 UTC, Doug Whitesell
Details
Patch. (fortune-mod-slackware.patch,290 bytes, patch)
2009-06-12 01:11 UTC, Doug Whitesell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Whitesell 2009-06-12 01:05:25 UTC
fortune-mod-slackware-1.15.ebuild contains:

pkg_setup() {
        if ! use offensive ; then
                elog "These fortunes have offensive content. Enable offensive USE Flag"
                elog "ex: USE=\"offensive\" emerge ${PN}"
                elog " or add to package.use file: games-misc/fortune-mod-slackware offensive"
>>>                exit 1
        fi
}

This results in the 'setup' phase terminating unexpectedly if !use offensive and leads to head-scratching on the user's end.
Comment 1 Doug Whitesell 2009-06-12 01:06:17 UTC
Created attachment 194325 [details]
Build log
Comment 2 Doug Whitesell 2009-06-12 01:11:43 UTC
Created attachment 194332 [details, diff]
Patch.

This patch works dandy; the ebuild dies in a non-puzzling way.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2009-06-12 21:53:29 UTC
fixed.