Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69030 - kismet 2004.10.1 fails building when running configure when ethereal flag is absent
Summary: kismet 2004.10.1 fails building when running configure when ethereal flag is ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Henrik Brix Andersen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-26 08:59 UTC by Hans-Werner Hilse
Modified: 2004-10-26 09:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch to -r1 (kismet-2004.10.1-r1.ebuild.patch,611 bytes, patch)
2004-10-26 09:09 UTC, Hans-Werner Hilse
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Werner Hilse 2004-10-26 08:59:39 UTC
In the newly released ebuild 2004.10.1 there's a method to give a flag '--with-ethereal=/path/to/ethereal' to configure.
This doesn't work when the USE flag 'ethereal' is not specified.
Then '--without-ethereal=/path/to/inexistent/ethereal' is given to configure, letting it fail.
This can be fixed by making the added '=/path...' going to '' when the USE flag is not set.

Reproducible: Always
Steps to Reproduce:
1. USE="-ethereal" emerge \=kismet-2004.10.1



Actual Results:  
"econf --without-ethereal=/path/to/not/existing/ethereal" fails.

Expected Results:  
"econf --without-ethereal" should be called
Comment 1 Hans-Werner Hilse 2004-10-26 09:09:52 UTC
Created attachment 42635 [details, diff]
Proposed patch to -r1

This is a short patch for making this error go away.
But i really don't know if it fits the coding style...
There's certainly something i forgot...
Comment 2 Hans-Werner Hilse 2004-10-26 09:15:37 UTC
By the way, there's a fresh ethereal out there.
Maybe this should be integrated in a -r1,
as the ethereal version is hardcoded and forces a downgrade at the moment.
As this is not the reason why i disabled the 'ethereal' USE flag I don't have a proposed patch for this ;-)
Comment 3 Henrik Brix Andersen 2004-10-26 09:29:43 UTC
Thank you for reporting this - I've fixed it in CVS.