Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150085 - net-mail/cyrus-imapd syntax errors
Summary: net-mail/cyrus-imapd syntax errors
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-04 11:43 UTC by Patrick Lauer
Modified: 2006-10-05 11:34 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 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