From owner-freebsd-emulation@FreeBSD.ORG Thu Jan 5 21:46:19 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 9EF7016A41F for ; Thu, 5 Jan 2006 21:46:19 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 842E443D45 for ; Thu, 5 Jan 2006 21:46:16 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5F85C.dip.t-dialin.net [84.165.248.92]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k05LfwRd005283; Thu, 5 Jan 2006 22:41:59 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k05LkAjp011120; Thu, 5 Jan 2006 22:46:10 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Thu, 5 Jan 2006 22:46:10 +0100 From: Alexander Leidinger To: freebsd-emulation@freebsd.org Message-ID: <20060105224610.5ffc07c6@Magellan.Leidinger.net> In-Reply-To: <20060105134307.A10974@cons.org> References: <20060105134307.A10974@cons.org> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Martin Cracauer Subject: Re: Wiping out /compat/linux/* when installing linux_base X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2006 21:46:19 -0000 On Thu, 5 Jan 2006 13:43:07 -0500 Martin Cracauer wrote: > I have been bitten by this several times now: > > when you reinstall the linux_base port, it just wipes out all of > /compat/linux. I usually have stuff in /compat/linux/usr/local in > there. > > Note that removing linux_base does not do that, installing linux_base > again does. Are you really sure? I've portupgraded the default linux base port (emulators/linux_base-8) several times (at least for every portrevision bump) and I didn't reinstall for example linux-gtk2, but acroread7 still works. So I'm a little bit puzzled how this can happen. ... Ok, I've looked into this, now I understand. It removes $LINUXBASE/usr/local completely, not $LINUXBASE. Remove the usr/local entry from the REMOVE_DIRS variable, try a completely fresh install of linux_base (empty $LINUXBASE), and have a look if there are some file in $LINUXBASE/usr/local. If there's no file, go ahead and change the Makefile. I assume you didn't encountered bad behavior with linux programs while having $LINUXBASE/usr/local. Acroread7 is still able to dig into the FreeBSD /usr/local then, right? Bye, Alexander. -- Reboot America. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/