From owner-freebsd-ports@FreeBSD.ORG Tue Mar 11 19:40:07 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 BB04A2CD for ; Tue, 11 Mar 2014 19:40:07 +0000 (UTC) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8C75663B for ; Tue, 11 Mar 2014 19:40:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=4qJr0SaMS8rjkcm+zc4QLXhPdq0ZQS91518pvjZxc3g=; b=pot5gk4fA4NU7KeZ/dkiWCsUa9Akad3aIYshnDNGmJJtitYYorOVtcVPGesks2ai4HVNuH2yygv4XsmEsJtXeQbtJhDL5NYjdUi7SBnIkwBaXlVLDOHardwSIPVVqpasnbEQWt3OaYxAKKO8w4KCbIsaV54HqFIfjJM3gmLjJAk=; Received: from localhost.lerctr.org ([127.0.0.1]:37162 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WNSWz-000NBo-I8 for freebsd-ports@freebsd.org; Tue, 11 Mar 2014 14:40:06 -0500 Received: from proxy.lucent.com ([135.245.48.13]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 11 Mar 2014 14:40:05 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 11 Mar 2014 14:40:05 -0500 From: Larry Rosenman To: freebsd-ports@freebsd.org Subject: Re: How to insall hard link to system (base) file in port with stage =?UTF-8?Q?support=3F?= In-Reply-To: <1209744573.20140311191252@serebryakov.spb.ru> References: <86807999.20140308032040@serebryakov.spb.ru> <1209744573.20140311191252@serebryakov.spb.ru> Message-ID: <50ec44e59b06191795f5ed0613d20dcd@webmail.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/0.9.5 X-Spam-Score: -2.9 (--) X-LERCTR-Spam-Score: -2.9 (--) X-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-LERCTR-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2014 19:40:07 -0000 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: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688