View previous topic :: View next topic |
Author |
Message |
tito4981 n00b
Joined: 12 Jun 2002 Posts: 50 Location: Paris - France
|
Posted: Sun Apr 27, 2003 12:41 pm Post subject: ./configure flags with emerge ? |
|
|
Can we pass options to ./configure (ie. --with-java=/usr/local/j2sdk1.4 ) via emerge ? |
|
Back to top |
|
|
hrnick Guru
Joined: 31 Aug 2002 Posts: 425 Location: Sweden
|
Posted: Sun Apr 27, 2003 1:11 pm Post subject: |
|
|
I think you can emerge a package 'step by step' using ebuild
Code: | ebuild /path/to/package.ebuild fetch
ebuild /path/to/package.ebuild unpack
ebuild /path/to/package.ebuild compile
ebuild /path/to/package.ebuild install
ebuild /path/to/package.ebuild qmerge |
then you can perform the compile part yourself
the source is unpacked in /var/tmp/portage/nameofpackage/work/nameofpackageagain |
|
Back to top |
|
|
hrnick Guru
Joined: 31 Aug 2002 Posts: 425 Location: Sweden
|
Posted: Sun Apr 27, 2003 1:13 pm Post subject: |
|
|
you can also edit the ebuild before emerging, didn't thought of that at first |
|
Back to top |
|
|
tito4981 n00b
Joined: 12 Jun 2002 Posts: 50 Location: Paris - France
|
Posted: Sun Apr 27, 2003 1:25 pm Post subject: |
|
|
Thanx ! why didn't I thought about it |
|
Back to top |
|
|
braindead0 Tux's lil' helper
Joined: 29 Apr 2003 Posts: 146 Location: Ohio
|
Posted: Tue Apr 29, 2003 12:42 pm Post subject: |
|
|
What affect will editing the ebuild in /usr/portage have when the next version is available? |
|
Back to top |
|
|
hrnick Guru
Joined: 31 Aug 2002 Posts: 425 Location: Sweden
|
Posted: Tue Apr 29, 2003 1:51 pm Post subject: |
|
|
it will be overwritten the next time you run emerge sync
you can specify a dir in make.conf (PORTDIR_OVERLAY) where you can store ebuilds so that they don't get overwritten when you sync. |
|
Back to top |
|
|
braindead0 Tux's lil' helper
Joined: 29 Apr 2003 Posts: 146 Location: Ohio
|
Posted: Tue Apr 29, 2003 6:31 pm Post subject: |
|
|
That's what I thought.. Thanks.. |
|
Back to top |
|
|
|