View previous topic :: View next topic |
Author |
Message |
mrizzo n00b

Joined: 21 Apr 2002 Posts: 6 Location: New Jersey, USA
|
Posted: Sun Apr 21, 2002 7:04 am Post subject: How do I emerge packages to a different directory |
|
|
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 |
|
 |
dice Guru


Joined: 21 Apr 2002 Posts: 577
|
Posted: Sun Apr 21, 2002 8:30 am Post subject: |
|
|
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 |
|
 |
|