Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62753 - Cannot emerge subversion with USE="perl -python"
Summary: Cannot emerge subversion with USE="perl -python"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High blocker
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-03 14:01 UTC by Jason Rhinelander
Modified: 2004-09-05 12:32 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 Jason Rhinelander 2004-09-03 14:01:53 UTC
The current subversion ebuilds (all recent versions in portage, up to 1.1.0_rc2) will not emerge with USE="perl -python" because the ebuild does:

use python && myconf="${myconf} --with-python=/usr/bin/python --with-swig"
use python || myconf="${myconf} --without-python --without-swig"

- in other words, it disables swig with USE="-python", however USE="perl" requires swig.  Changing this to the following will fix the problem:

use python && myconf="${myconf} --with-python=/usr/bin/python"
use python || myconf="${myconf} --without-python"

if use python || use perl; then
    myconf="${myconf} --with-swig"
else
    myconf="${myconf} --without-swig"
fi
Comment 1 Chris White (RETIRED) gentoo-dev 2004-09-03 14:08:54 UTC
Paul:

this one's all yours.

Though I probably would recommend

if use python
then
	myconf="${myconf} --with-python=/usr/bin/python"
else
	myconf="${myconf} --without-python
fi

instead.  It just seems a tad more structured that way.  Just my .004 cents
though.  Everything else makes sense.
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2004-09-05 12:32:01 UTC
I just fixed it in the 1.1.0_rc2 and 1.0.6 ebuilds