Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 150085

Summary: net-mail/cyrus-imapd syntax errors
Product: Gentoo Linux Reporter: Patrick Lauer <patrick>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrick Lauer gentoo-dev 2006-10-04 11:43:48 UTC
/usr/portage/net-mail/cyrus-imapd/cyrus-imapd-2.2.12.ebuild:	if [[ $(grep -wo ${my_flag} ${ROOT}/var/db/pkg/${my_pkg}/USE) ]]; then
/usr/portage/net-mail/cyrus-imapd/cyrus-imapd-2.2.12-r5.ebuild:	if [[ $(grep -wo ${my_flag} ${ROOT}/var/db/pkg/${my_pkg}/USE) ]]; then
/usr/portage/net-mail/cyrus-imapd/cyrus-imapd-2.2.12-r4.ebuild:	if [[ $(grep -wo ${my_flag} ${ROOT}/var/db/pkg/${my_pkg}/USE) ]]; then

This use of /var/db/pkg is unreliable. Finding if a package is built with a useflag can be done with  "built_with_use cat-egory/package use"
Comment 1 Tuan Van (RETIRED) gentoo-dev 2006-10-05 11:34:17 UTC
if you look at cvs history, that hack was before vapier put in built_with_use hack. It was fixed in 2.3 series (p.masked). I don't fix stable ebuilds unless it's seriously broke. Feel free to commit the fix if you disgree.

Best regards,
Tuan