Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7580 - app-emulation/mol minor fix
Summary: app-emulation/mol minor fix
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Kevyn Shortell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-06 10:43 UTC by Maurizio Disimino
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 Maurizio Disimino 2002-09-06 10:43:38 UTC
from app-emulation/mol:

<snip>
KEYWORDS="ppc -x86 -sparc -sparc64"

pkg_setup() {
        if [ ${ARCH} != "ppc" ] ; then
                eerror "Sorry, this is a PPC only package."
                die "Sorry, this as a PPC only pacakge."
        fi
}
</snip>

well, assuming this pkg is 'keyword masked' for ARCH != ppc
that pkg_setup() stuff is there only for backward compatibility
(i.e. old portage versions)

@<Gerk> j2ee: if you are running older portage and are on non ppc that is only
way it stops you from installing
+<j2ee> Gerk: ack, allright then
@<Gerk> j2ee: I know its kinda ugly tho.. but it doesnt breakanything ;)
@<Gerk> j2ee: I was actually asked to put that stuff in the ppc only pkgs at one
point
+<j2ee> indeed
@<Gerk> if you wanna file a bug to have it profile masked on all non ppc
profiles thats coolw with me too
@<Gerk> and once it is I'll remove that stuff ;)
@<Gerk> that means all x86 and sparc profiles though ;)
Comment 1 Maurizio Disimino 2002-09-06 10:56:50 UTC
same for sys-apps/yaboot
Comment 2 Maurizio Disimino 2002-09-06 11:04:48 UTC
sys-apps/gtkpbbuttons
sys-apps/hfsplusutils
sys-apps/hfsutils
sys-apps/pbbuttonsd
sys-apps/powerpc-utils
sys-apps/powerprefs

Moreover:
(from gentoo.org/~karltk/POLICY.txt)

If you do not know if an ebuild will work on a partiticular
profile, leave that keyword out. If you know a that a package
will not work on a particular profile, add that keyword with a
leading "-" to KEYWORDS.
eg: ppc-sources would have: KEYWORDS="ppc -x86 -sparc -sparc64"

sexybit portage # grep KEYWORD
sys-apps/{hfsplusutils,pbbuttonsd,hfsutils,gtkpbbuttons,powerprefs}/*.ebuild
sys-apps/hfsplusutils/hfsplusutils-1.0.4.ebuild:KEYWORDS="ppc"
sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild:KEYWORDS="ppc"
sys-apps/pbbuttonsd/pbbuttonsd-0.4.10a.ebuild:KEYWORDS="ppc"
sys-apps/hfsutils/hfsutils-3.2.6.ebuild:KEYWORDS="ppc"
sys-apps/gtkpbbuttons/gtkpbbuttons-0.4.6b.ebuild:KEYWORDS="ppc"
sys-apps/powerprefs/powerprefs-0.2.1.ebuild:KEYWORDS="ppc"
sys-apps/powerprefs/powerprefs-0.2.ebuild:KEYWORDS="ppc"
Comment 3 Mark Guertin 2002-09-06 11:07:08 UTC
Hmm I thought I added those keywords to those builds (all the - ones).. I will
add them now I guess.
Comment 4 Mark Guertin 2002-09-06 11:13:31 UTC
done and comitted.

grep KEYWORD
sys-apps/{hfsplusutils,pbbuttonsd,hfsutils,gtkpbbuttons,powerprefs}/*.ebuild
sys-apps/hfsplusutils/hfsplusutils-1.0.4.ebuild:KEYWORDS="ppc -x86 -sparc -sparc64"
sys-apps/pbbuttonsd/pbbuttonsd-0.4.10.ebuild:KEYWORDS="ppc -x86 -sparc -sparc64"
sys-apps/pbbuttonsd/pbbuttonsd-0.4.10a.ebuild:KEYWORDS="ppc -x86 -sparc -sparc64"
sys-apps/hfsutils/hfsutils-3.2.6.ebuild:KEYWORDS="ppc -x86 -sparc -sparc64"
sys-apps/gtkpbbuttons/gtkpbbuttons-0.4.6b.ebuild:KEYWORDS="ppc -x86 -sparc -sparc64"
sys-apps/powerprefs/powerprefs-0.2.1.ebuild:KEYWORDS="ppc -x86 -sparc -sparc64"
sys-apps/powerprefs/powerprefs-0.2.ebuild:KEYWORDS="ppc -x86 -sparc -sparc64"

Comment 5 Kevyn Shortell (RETIRED) gentoo-dev 2002-09-08 03:25:55 UTC
Verified, closing