Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284625 - nls USE flag broken in <=app-misc/ddccontrol-db-20061014
Summary: nls USE flag broken in <=app-misc/ddccontrol-db-20061014
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 17:51 UTC by Alexander Miller
Modified: 2010-01-29 06:04 UTC (History)
3 users (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 Alexander Miller 2009-09-11 17:51:41 UTC
The following error message appears while emerging ddccontrol-db:
/var/tmp/portage/app-misc/ddccontrol-db-20061014/temp/environment: line 170: enable_with: command not found
The build continues, but econf will be called without any arguments and configure will automagically detect gettext even with USE=-nls when it's installed. All versions in the tree are affected.

Fix: the first line of src_compile() in the ebuilds:
        econf `enable_with nls` || die "econf failed"
should be changed to:
        econf $(use_enable nls) || die "econf failed"
Oh, and please remove the comment after emake, it *will* build the message catalogs unless your LINGUAS settings prevent it.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-01-29 06:04:26 UTC
I only just discovered this. I left the comment in, though.