Re: How to insall hard link to system (base) file in port with stage support?

2014-03-11 Thread Alexander Yerenkow
BTW, there is Perl which make symlink in /usr/bin to itself, and I'm sure
that there other places where something need to be symlinked/copied from
package files into base hier directories.

Maybe there could be made appropriate framework in ports mk files + pkg ?
Something like
BASE_SYMLINKS += sourcefile-in-stage-dir:target-path-in-base
BASE_COPYFILES += sourcefile-in-stage-dir:target-path-in-base

?



2014-03-08 1:20 GMT+02:00 Lev Serebryakov l...@freebsd.org:

 Hello, FreeBSD.

   My port installs GEOM class, so it need to make hard link to /sbin/geom.
   It uses bsd.link.mk and uses

 LINKS=  ${BINDIR}/geom ${BINDIR}/g${CLASS}

  which works without staging, but, of course, doesn't work with staginig.
 Is
 it possible to support such operation with staging?

 --
 // Black Lion AKA Lev Serebryakov l...@freebsd.org

 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org




-- 
Regards,
Alexander Yerenkow
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: How to insall hard link to system (base) file in port with stage support?

2014-03-11 Thread Lev Serebryakov
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 from
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.


-- 
// Black Lion AKA Lev Serebryakov l...@freebsd.org

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: How to insall hard link to system (base) file in port with stage support?

2014-03-11 Thread Larry Rosenman

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 
from

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: l...@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

How to insall hard link to system (base) file in port with stage support?

2014-03-07 Thread Lev Serebryakov
Hello, FreeBSD.

  My port installs GEOM class, so it need to make hard link to /sbin/geom.
  It uses bsd.link.mk and uses

LINKS=  ${BINDIR}/geom ${BINDIR}/g${CLASS}

 which works without staging, but, of course, doesn't work with staginig. Is
it possible to support such operation with staging?

-- 
// Black Lion AKA Lev Serebryakov l...@freebsd.org

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org