[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PREFIX and /etc
Devin Reade <gdr@gno.org> wrote:
> I have a port that needs to put files into /etc and /sbin (in fact,
> the only files that go into /usr/local are the man pages).
Please explain why it needs to do this.
> Looking through bsd.port.mk, it appears that the only way to do this without
> causing tar errors during the 'make package' stage is to set PREFIX
> to "/" in the port Makefile.
Yes. Installing symlinks from pkg/INSTALL may or may not suffice, too.
> Is this the normal way to do things,
No, because dumping ports stuff into /sbin is not normal.
--
Christian "naddy" Weisgerber naddy@mips.inka.de