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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
I've already looked at the ebuild but it's not a long term solution.
I di post on the gentoo forum just before this and got a reply at the same time as this. An extra_econf or overlay ebuild was suggested. back to the manuals...
I think I tried this at the time but I don't think it worked, anyway, I've stopped with this awful hackery now and am running stock apache from portage.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.