* [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?
@ 2013-08-19 5:58 东方巽雷
2013-08-19 6:05 ` AR (aka AleiPhoenix)
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: 东方巽雷 @ 2013-08-19 5:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 45 bytes --]
I need to change some arguments in Makefile.
[-- Attachment #2: Type: text/html, Size: 67 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?
2013-08-19 5:58 [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation? 东方巽雷
@ 2013-08-19 6:05 ` AR (aka AleiPhoenix)
2013-08-19 6:06 ` Canek Peláez Valdés
2013-08-19 6:09 ` Alexey Mishustin
2 siblings, 0 replies; 7+ messages in thread
From: AR (aka AleiPhoenix) @ 2013-08-19 6:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 432 bytes --]
On Mon, Aug 19, 2013 at 1:58 PM, 东方巽雷 <dongfangxunlei@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 golden.
twitter: @AccelReality
wikipedia: AleiPhoenix
blog: weblog.areverie.org
wiki: wiki.areverie.org
[-- Attachment #2: Type: text/html, Size: 995 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?
2013-08-19 5:58 [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation? 东方巽雷
2013-08-19 6:05 ` AR (aka AleiPhoenix)
@ 2013-08-19 6:06 ` Canek Peláez Valdés
2013-08-19 6:09 ` Alexey Mishustin
2 siblings, 0 replies; 7+ messages in thread
From: Canek Peláez Valdés @ 2013-08-19 6:06 UTC (permalink / raw
To: gentoo-user
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.
Regards.
On Mon, Aug 19, 2013 at 12:58 AM, 东方巽雷 <dongfangxunlei@gmail.com> wrote:
> I need to change some arguments in Makefile.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?
2013-08-19 5:58 [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation? 东方巽雷
2013-08-19 6:05 ` AR (aka AleiPhoenix)
2013-08-19 6:06 ` Canek Peláez Valdés
@ 2013-08-19 6:09 ` Alexey Mishustin
2013-08-19 6:38 ` 东方巽雷
2 siblings, 1 reply; 7+ messages in thread
From: Alexey Mishustin @ 2013-08-19 6:09 UTC (permalink / raw
To: gentoo-user
2013/8/19 东方巽雷 <dongfangxunlei@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 path/to/package.ebuild compile
ebuild path/to/package.ebuild install
ebuild path/to/package.ebuild qmerge
--
Regards,
Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-08-19 9:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-19 5:58 [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation? 东方巽雷
2013-08-19 6:05 ` AR (aka AleiPhoenix)
2013-08-19 6:06 ` Canek Peláez Valdés
2013-08-19 6:09 ` Alexey Mishustin
2013-08-19 6:38 ` 东方巽雷
2013-08-19 8:00 ` Wang Xuerui
2013-08-19 9:19 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox