Date: Tue, 11 Mar 2014 10:49:01 +0200 From: Alexander Yerenkow <yerenkow@gmail.com> To: lev@freebsd.org Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: How to insall hard link to system (base) file in port with stage support? Message-ID: <CAPJF9wneRXiOU_CsQN6XcLdeXZw2WpC3qQ%2Bknb3SRTKLV_sRFA@mail.gmail.com> In-Reply-To: <86807999.20140308032040@serebryakov.spb.ru> References: <86807999.20140308032040@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@FreeBSD.org>
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>
--
Regards,
Alexander Yerenkow
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPJF9wneRXiOU_CsQN6XcLdeXZw2WpC3qQ%2Bknb3SRTKLV_sRFA>
