How to insall hard link to system (base) file in port with stage support?
Alexander Yerenkow
yerenkow at gmail.com
Tue Mar 11 08:49:03 UTC 2014
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 <lev at 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 <lev at FreeBSD.org>
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
--
Regards,
Alexander Yerenkow
More information about the freebsd-hackers
mailing list