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

Alexander Yerenkow yerenkow at
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>:

> Hello, FreeBSD.
>   My port installs GEOM class, so it need to make hard link to /sbin/geom.
>   It uses <> 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-ports at mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at"

Alexander Yerenkow

More information about the freebsd-ports mailing list