Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I emerge packages to a different directory
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
mrizzo
n00b
n00b


Joined: 21 Apr 2002
Posts: 6
Location: New Jersey, USA

PostPosted: Sun Apr 21, 2002 7:04 am    Post subject: How do I emerge packages to a different directory Reply with quote

I would like to emerge apache to /opt/apache instead of the default path. Can this be done with emerge?

Thanks,

Mike Rizzo
Back to top
View user's profile Send private message
dice
Guru
Guru


Joined: 21 Apr 2002
Posts: 577

PostPosted: Sun Apr 21, 2002 8:30 am    Post subject: Reply with quote

Open up /usr/portage/net-www/apache/apache-(whatever).ebuild in your favorite text editor. Scroll down until you see this part:

Quote:

./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/lib/apache \
--mandir=/usr/share/man \
--sysconfdir=/etc/apache/conf \
--datadir=/home/httpd \
--iconsdir=/home/httpd/icons \
--htdocsdir=/home/httpd/htdocs \
--manualdir=/usr/share/doc/${PF}/manual \
--cgidir=/home/httpd/cgi-bin \
--includedir=/usr/include/apache \
--localstatedir=/var \
--runtimedir=/var/run \
--logfiledir=/var/log/apache \
--proxycachedir=/var/cache/apache \
--serverroot=/etc/apache \


You can change those values to whatever you want, the files will be installed into those locations when you emerge net-www/apache.
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