From owner-freebsd-ports@FreeBSD.ORG Tue Mar 11 08:49:03 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 29647DA0; Tue, 11 Mar 2014 08:49:03 +0000 (UTC) Received: from mail-ve0-x229.google.com (mail-ve0-x229.google.com [IPv6:2607:f8b0:400c:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B4FDD7E6; Tue, 11 Mar 2014 08:49:02 +0000 (UTC) Received: by mail-ve0-f169.google.com with SMTP id pa12so8565282veb.28 for ; Tue, 11 Mar 2014 01:49:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vgInTiEOeJp1Sbh+9mOZKgt6iYA+37oLp0iEDDdo5ho=; b=SXyQeVbxQmfT98VUnU8dwsBoD8ZPK7BmAy1JDOjM7xtbPgy5ZaET5dV8YWDL0ZmshH odGEmEnapVqzFUdG7zpvcGhw13I1pLpqj2Br2Qlc+0iI5qZjS01Q/J0w7WQ+pLICI9nZ LaX/a1JtHuSJxNpDiQcCHinl9ns5fvLcppUfdrBvPkXWiyggQr2Dua6N7mIJRpjheu4e iuprEdhBLSODASiT3jMFYmzKi+UzWkAXQEgEoA/gALRkXlsNSNN6NdDXTxeKzTOYG9cz 9LOekcIdmwb88xh6vJc5A3D1Y7/wppd2/TP+jTWL1m0G7HZ7v6fb0ilad/WREeZTM1QP +muQ== MIME-Version: 1.0 X-Received: by 10.220.95.139 with SMTP id d11mr8600813vcn.21.1394527741825; Tue, 11 Mar 2014 01:49:01 -0700 (PDT) Received: by 10.52.34.46 with HTTP; Tue, 11 Mar 2014 01:49:01 -0700 (PDT) In-Reply-To: <86807999.20140308032040@serebryakov.spb.ru> References: <86807999.20140308032040@serebryakov.spb.ru> Date: Tue, 11 Mar 2014 10:49:01 +0200 Message-ID: Subject: Re: How to insall hard link to system (base) file in port with stage support? From: Alexander Yerenkow To: lev@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Hackers , FreeBSD Ports 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 08:49:03 -0000 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 : > 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 > > _______________________________________________ > 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