Jay Soffian <[EMAIL PROTECTED]> writes:

> Also, none of djb's packages like the idea of compiling a program to
> look in one place and installing it in another. We use depot for all our
> package installes, so we compile packages to look in /usr/local, but
> install them in /depot/col/<package_name>. All of djb's packages require
> extra work to get them to install this way. For qmail, it isn't that big
> a deal because we put it in /var/qmail, but for tcpserver and other djb
> packages, we want them depotized. For pacakges that use GNU autoconf,
> this is trivial. 'make install prefix=/depot/col/<package_name>' and
> you're done. For all of djb's stuff, you either install by hand or futz
> around with the various conf-FOO files and make sure you preserve their
> timestamps when editing them after you've built the package. blech.

make
make install
./install /depot/col/<package>/bin < BIN
./install /depot/col/<package>/man < MAN

If that's too much to type each time, make a local patch to Makefile that
gets the installatin locations from conf-instbin and conf-instman instead
and creates those files with the installation paths you want.

(Your package manager *does* seamlessly allow you to keep local patches to
a package, right?)

-- 
Russ Allbery ([EMAIL PROTECTED])         <URL:http://www.eyrie.org/~eagle/>

Reply via email to