Gentoo emerge howto do ./configure --options-stuff via portage
Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
but I want to do this as an emerge package and set it permanently so that I can just re-emerge.upgrade it later and still use these options.
I'm a bit confused as to whether USE flags are the same thing, I expect they are but can't find it written in (R)TFM too clearly. And I can't see exactly what the use flags to get this would be. I could just edit the ebuild configure options but I need a longer term solution than this as I believe it will get overwritten at the next emerge --sync.
I've looked at the package.use file mentioned in the Portage Manual but it seems to be for the USE options for specific packages and I'm not sure that's what I need.
I believe you would have to edit the ebuild yourself, but I am not certain. USE flags are not for this - they are for dependencies and support. For example, I want to build package "x" with "y" support, I would include "y" in my use flags. You could also build the software yourself and install it in a different location, like /opt, for example. Emerge would not be able to track it though. Have you asked this question in the Gentoo forums?