Re: [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?

2013-08-19 Thread AR (aka AleiPhoenix)
On Mon, Aug 19, 2013 at 1:58 PM, 东方巽雷 dongfangxun...@gmail.com wrote: I need to change some arguments in Makefile. AFAIK, there is no way to pause the emerging and resume it. Emerging is like a transaction. You need to write your own ebuild file, maybe add a additional patch. -- Silence is

Re: [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?

2013-08-19 Thread Canek Peláez Valdés
if the package uses autoconf/automake: ebuild /usr/portage/cat/pkg/pkg-ver.ebuild configure [edit Makefile] touch /var/tmp/portage/cat//pkg-ver/.configured ebuild /usr/portage/cat/pkg/pkg-ver.ebuild install I think it would be easier to put the package in an overlay and edit the ebuild.

Re: [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?

2013-08-19 Thread Alexey Mishustin
2013/8/19 东方巽雷 dongfangxun...@gmail.com: I need to change some arguments in Makefile. You might want to use a low-level interface to the Portage system 'ebuild': ebuild path/to/package.ebuild fetch ebuild path/to/package.ebuild unpack ===make you changes here (where unpacked, in /tmp)=== ebuild

Re: [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?

2013-08-19 Thread 东方巽雷
good! Thank you. 2013/8/19 Alexey Mishustin shum...@shumkar.ru 2013/8/19 东方巽雷 dongfangxun...@gmail.com: I need to change some arguments in Makefile. You might want to use a low-level interface to the Portage system 'ebuild': ebuild path/to/package.ebuild fetch ebuild

Re: [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?

2013-08-19 Thread Wang Xuerui
2013/8/19 东方巽雷 dongfangxun...@gmail.com: good! Thank you. Manually executing phases of ebuild is certainly not a long-term solution; changes won't persist on the next build. You'd better patch the ebuild's src_configure section (before you forget your exact modifications), then put them into

Re: [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?

2013-08-19 Thread Neil Bothwick
On Mon, 19 Aug 2013 16:00:28 +0800, Wang Xuerui wrote: You'd better patch the ebuild's src_configure section (before you forget your exact modifications), then put them into your overlay; If you don't have an overlay already, it's a good opportunity to create one. If the ebuild supports

[gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?

2013-08-18 Thread 东方巽雷
I need to change some arguments in Makefile.