Here is what I did cd /usr/portage/kde-base ekeyword ~pcc-maxos kdebase-3.3.1.ebuild syntax: ekeyword { arch | ~[arch] | -[arch] } ebuild... I believe that the fix should be the following. my ($kw_re) = '^(?:([-~^]?)(\w+)|([-^]\*))$'; Change the \w+ to \S+. This will allow you to get the - because \w only looks at the alpha-numeric and _ while \S+ would include the - Thank you for looking at this problem Reproducible: Always Steps to Reproduce: 1.cd /usr/portage/kde-base 2.ekeyword ~pcc-maxos kdebase-3.3.1.ebuild 3. Actual Results: syntax: ekeyword { arch | ~[arch] | -[arch] } ebuild... Expected Results: I believe that ekeyword should have accpeted the arguemnts ( This is my first time running it so I reallly don't have a clue)
It is already fixed in _pre4. AFAIK this is the third bug report of ekeyword, and so I marked _pre4 stable on ppc-macos (hope it's okay, because <=_pre3 is broken wrt ekeyword on ppc-macos). Please use _pre4 rather than <=_pre3.