How to insall hard link to system (base) file in port with stage support?
ler at lerctr.org
Tue Mar 11 19:40:07 UTC 2014
On 2014-03-11 10:12, Lev Serebryakov wrote:
> Hello, Alexander.
> You wrote 11 марта 2014 г., 12:49:01:
> AY> BTW, there is Perl which make symlink in /usr/bin to itself, and
> I'm sure
> AY> that there other places where something need to be symlinked/copied
> AY> package files into base hier directories.
> AY> Maybe there could be made appropriate framework in ports mk files +
> pkg ?
> AY> Something like
> AY> BASE_SYMLINKS += sourcefile-in-stage-dir:target-path-in-base
> AY> BASE_COPYFILES += sourcefile-in-stage-dir:target-path-in-base
> Please note, that I need hard link.
You are going to have a hard time with that on some systems.
I have /usr/local and /usr as separate file systems.......
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c) E-Mail: ler at lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
More information about the freebsd-ports