Installing a port into a different prefix

Paul Schmehl pauls at utdallas.edu
Thu May 18 16:15:59 PDT 2006


Lennon Cook wrote:

> Paul Schmehl <pauls at utdallas.edu> wrote:
>> make PREFIX="/usr/local/lib/" install clean
> Thank you, this works well. :)
> Although, doing 'make PREFIX=/opt/kaffe install clean' still installs
> kaffe, kaffeh, and kaffe-bin into /usr/local/bin (aswell as installing
> everything - including these files - except kaffe-bin into the proper
> locations in /opt/kaffe).
> Is this normal behavior, or is this a weird port?
> 
Perhaps those were left over from a previous install?  When you redefine 
PREFIX, that should affect everything in the port that is installed. 
For example, the normal PREFIX is /usr/local/, so docs are installed in 
/usr/loca/share/doc/portname.  If you redefine PREFIX to /opt/kaffee, 
docs should be installed in /opt/kaffee/share/docs/portname.

-- 
Paul Schmehl (pauls at utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5007 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060518/9432f144/smime.bin


More information about the freebsd-questions mailing list