From owner-freebsd-ports@FreeBSD.ORG Wed Nov 21 08:40:44 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6036716A420 for ; Wed, 21 Nov 2007 08:40:44 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id EA85B13C4BE for ; Wed, 21 Nov 2007 08:40:43 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A57CE5.dip.t-dialin.net [84.165.124.229]) by redbull.bpaserver.net (Postfix) with ESMTP id A6F0B2E308; Wed, 21 Nov 2007 09:24:41 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id F3DD575BAC; Wed, 21 Nov 2007 09:24:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1195633479; bh=PEoVRzvj7qiHojXOlVSRaIuH/tWfXxoY1 oRat8Cm9hc=; h=Message-ID:X-Priority:Date:From:To:Cc:Subject: References:In-Reply-To:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:User-Agent; b=ENfgx2 DaBxFdn4Kvwi5n322Fjs8xTJduub7DUzswgagTs0Vid0XAR3Vt6eSQSiCAAQr5+M2w7 G/QQfNhK8YdKFddZbM/3VbVkXi3WqMZYY3WbhfRoWPZmKflpDWua/qn3BNcykvJnF8B wkg3Kx596jpIpOrivxTE80Twk10yibyzis8HZK+KF1gz/b+UD/kjP15Df2bnJ1m9iXT nryv3PCP8e7iXqM31nHjwNcMj5IbCIIE7U3OufP95LI5ybsC8XdwXfLY9iwkL8c3NVN fmcoPTKsMoXim0c0ylvuR4diiQK4NxzR9L7fbPc9eFCxyOLHpSAT8e9AJCQJ/EuVbnq w== Received: (from www@localhost) by webmail.leidinger.net (8.14.1/8.13.8/Submit) id lAL8Ocr4049376; Wed, 21 Nov 2007 09:24:38 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 21 Nov 2007 09:24:38 +0100 Message-ID: <20071121092438.ihob6n73ggwkkg0w@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 21 Nov 2007 09:24:38 +0100 From: Alexander Leidinger To: Chuck Robey References: <4743A6C1.2060106@chuckr.org> In-Reply-To: <4743A6C1.2060106@chuckr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=2.519, required 6, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, J_CHICKENPOX_25 0.60, MIME_QP_LONG_LINE 1.82, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-SpamScore: ss X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: FreeBSD-ports@FreeBSD.org Subject: Re: problems with linux ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 08:40:44 -0000 Quoting Chuck Robey (from Tue, 20 Nov 2007 =20 22:32:17 -0500): > I sam working to try getting a current flash working, and I found > something that seems screwy. I've had pr0blems with the way that ports > do/don't respect LOCALBASE/X11BASE so far, and while I guess I was > wrong, I think I would ask someone else to check this ... the > www/linux-firefox-devel (and probably the linux-firefox) ports sticks > its large selection of shared libs intoa subdir named firefox-devel, > but instead of this going into /usr/compat/linux/usr/lib like I was > expecting, its being stuck into /usr/local/lib. The files aren't bsd > llibs, they're SYSV libs, so i dono't think that the linux ldconfig > should go hunting over there. And ldconfig will not hunt there, as it has to be run chrooted to =20 LINUXBASE (linux ldconfig can chroot himself). > I think it's installing in the wrong spot. So I can continue with my > work on the Adobe stuff, I'm going to fix my stuff here anyhow. Let me > know if I'm right, ok? I'd file the PR if you wanted, I just want > someone to verify this as wrong. Firefox is special, and linux emulation is special too, so the end =20 result is extra special. Firefox will look by himself into those directories, no need to ldconfig the= m. For the linux ports I suggest to not rely on your old knowledge about =20 it. I've redesigned the behavior a little bit (e.g., there's a fall =20 through to some FreeBSD config files by either symlinking to the right =20 path, or by a direct "fall trough: to the FreeBSD files). In general, infrastructure ports should go to LINUXBASE, and =20 application ports to LOCALBASE (we don't really have X11BASE in the =20 ports anymore since some months). If an application does install =20 generic infrastructure things, it should be split up so that it fits =20 the above description. If this is not possible (or too hard), we need =20 to find another solution. If it doesn't conflict with native ports =20 (for example if the infrastructure can not be used in general, as it =20 is not pick up by e.g. the native gcc or run time linker), we can =20 install it in LOCALBASE. A cleaner solution would be to put it into =20 LINUXBASE and install just a wrapper script into LOCALBASE which calls =20 the /comapt/linux/... binary. This is up to the port maintainer (he =20 can put a CONFLICTS line into the port), and maybe general consensus. =20 I haven't looked at the linux-firefox* ports, so I can't tell if it =20 would be an improvement to move it to LINUXBASE or not. Bye, Alexander. --=20 The answer to the question of Life, the Universe, and Everything is... =09Four day work week, =09Two ply toilet paper! http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137