Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317769 - dev-embedded/ponyprog should warn about conflicting USE rather than `die`
Summary: dev-embedded/ponyprog should warn about conflicting USE rather than `die`
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 12:47 UTC by Samuli Suominen (RETIRED)
Modified: 2010-06-17 18:31 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2010-04-29 12:47:35 UTC
bogus:

pkg_setup() {
	if (use epiphany && use firefox) ; then
		die "Only one of epiphany or firefox can be in USE."
	fi
}

	if use epiphany ; then
		sed -i -e 's/netscape/epiphany/' e2cmdw.cpp
	fi
	if use firefox ; then
		sed -i -e 's/netscape/firefox/' e2cmdw.cpp
	fi

instead it should be using something like:

if use epiphany; then
# do stuff
elif use firefox; then
# do stuff
fi
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-06-17 18:31:36 UTC
fixed