Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
./configure flags with emerge ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tito4981
n00b
n00b


Joined: 12 Jun 2002
Posts: 50
Location: Paris - France

PostPosted: Sun Apr 27, 2003 12:41 pm    Post subject: ./configure flags with emerge ? Reply with quote

Can we pass options to ./configure (ie. --with-java=/usr/local/j2sdk1.4 ) via emerge ?
Back to top
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 425
Location: Sweden

PostPosted: Sun Apr 27, 2003 1:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 425
Location: Sweden

PostPosted: Sun Apr 27, 2003 1:13 pm    Post subject: Reply with quote

you can also edit the ebuild before emerging, didn't thought of that at first :D
Back to top
View user's profile Send private message
tito4981
n00b
n00b


Joined: 12 Jun 2002
Posts: 50
Location: Paris - France

PostPosted: Sun Apr 27, 2003 1:25 pm    Post subject: Reply with quote

Thanx ! why didn't I thought about it :roll:
Back to top
View user's profile Send private message
braindead0
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 146
Location: Ohio

PostPosted: Tue Apr 29, 2003 12:42 pm    Post subject: Reply with quote

What affect will editing the ebuild in /usr/portage have when the next version is available?
Back to top
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 425
Location: Sweden

PostPosted: Tue Apr 29, 2003 1:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
braindead0
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 146
Location: Ohio

PostPosted: Tue Apr 29, 2003 6:31 pm    Post subject: Reply with quote

That's what I thought.. Thanks..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum