From owner-freebsd-ports@FreeBSD.ORG Tue Mar 11 15:13:04 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7DA0DD94; Tue, 11 Mar 2014 15:13:04 +0000 (UTC) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 3C1F4187; Tue, 11 Mar 2014 15:13:04 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:502c:9f0:1046:48c]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id 845D14AC1C; Tue, 11 Mar 2014 19:12:56 +0400 (MSK) Date: Tue, 11 Mar 2014 19:12:52 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1209744573.20140311191252@serebryakov.spb.ru> To: Alexander Yerenkow Subject: Re: How to insall hard link to system (base) file in port with stage support? In-Reply-To: References: <86807999.20140308032040@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Hackers , FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2014 15:13:04 -0000 Hello, Alexander. You wrote 11 =EC=E0=F0=F2=E0 2014 =E3., 12:49:01: AY> BTW, there is Perl which make symlink in /usr/bin to itself, and I'm su= re 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 +=3D sourcefile-in-stage-dir:target-path-in-base AY> BASE_COPYFILES +=3D sourcefile-in-stage-dir:target-path-in-base Please note, that I need hard link. --=20 // Black Lion AKA Lev Serebryakov