From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 23 13:34:41 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 771C716A4A6 for ; Fri, 23 Jun 2006 13:34:41 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6720943D48 for ; Fri, 23 Jun 2006 13:34:37 +0000 (GMT) (envelope-from gabor@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 7388399917E; Fri, 23 Jun 2006 15:34:25 +0200 (CEST) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LOkd8J+t3NRC; Fri, 23 Jun 2006 15:34:20 +0200 (CEST) Received: from [192.168.2.186] (catv-50635cb6.catv.broadband.hu [80.99.92.182]) by server.t-hosting.hu (Postfix) with ESMTP id 019849990DC; Fri, 23 Jun 2006 15:34:19 +0200 (CEST) Message-ID: <449BEDDB.5000207@FreeBSD.org> Date: Fri, 23 Jun 2006 15:34:19 +0200 From: =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Boris Samorodov References: <200606230924.48350.consumidor@mundinho.com.br> <449BE4FC.5040700@FreeBSD.org> <60042918@srv.sem.ipt.ru> In-Reply-To: <60042918@srv.sem.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-emulation@freebsd.org Subject: Re: linux_base-fc4 installing in the wrong path X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gabor@t-hosting.hu List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 13:34:41 -0000 Boris Samorodov wrote: > On Fri, 23 Jun 2006 14:56:28 +0200 Gábor Kövesdán wrote: > > >> consumidor wrote: >> >>> gentlemen: >>> >>> my port of linux_base-fc4 is installing all binaries, libs etc in >>> /usr/local. at the end of the install it "brands" all my binaries in >>> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [1] > >>> /usr/local/bin and /usr/local/sbin, so my applications become >>> unusable. It also installs libc.so.6 on /usr/local/lib, breaking a >>> lot of stuff. I googled for hours, to no avail. Would you please >>> help me on getting this done right? I mean, I presume it should be >>> installed on /usr/compat/linux >>> >>> >> It installs right except when you override PREFIX or LINUXBASE. Make >> sure you don't have anything wrong in /etc/make.conf. >> > > That's true. And [1] shouldn't happen anyway. We do branding at WRKSRC > and only then do the installation (for more information look at > bsd.linux-rpm.mk). > > No, branding is done in do-install, see the Makefile for fc4: @${FIND} ${PREFIX}/bin ${PREFIX}/sbin/ ${PREFIX}/usr/bin \ ${PREFIX}/usr/sbin -type f -print0 | ${XARGS} -0 ${FILE} \ | ${GREP} ELF | ${CUT} -d : -f 1 \ | ${XARGS} ${BRANDELF} -t Linux Gabor Kovesdan