Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 15:03:19 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-emulation@freebsd.org, Trevor Johnson <trevor@freebsd.org>
Subject:   Re: ports/85254: [patch] emulators/linux_base-rh-9: add /usr/X11R6/lib to etc/ld.so.conf
Message-ID:  <20051026150319.e8j8u9brwwwgkwk0@netchild.homeip.net>
In-Reply-To: <63212306@serv3.int.kfs.ru>
References:  <200510150102.j9F12n05008693@freefall.freebsd.org> <63212306@serv3.int.kfs.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Boris Samorodov <bsam@ipt.ru> wrote:

> On Sat, 15 Oct 2005 01:02:49 GMT Trevor Johnson wrote:
>
>> Synopsis: [patch] emulators/linux_base-rh-9: add /usr/X11R6/lib to 
>> etc/ld.so.conf
>
>> State-Changed-From-To: open->analyzed
>> State-Changed-By: trevor
>> State-Changed-When: Sat Oct 15 00:45:25 GMT 2005
>> State-Changed-Why:
>> When I wrote the linux-Xfree86-libs port, it made the necessary
>> changs to ld.so.conf.  However netchild decided to redesign that
>> port, so that it no longer did that.  This caused the breakage you
>> found.  It affects all the Linux base ports that previously could
>> work with the linux-Xfree86-libs port,  While your solution seems
>> okay, I think it would be simpler to just revert the changes to the
>> linux-Xfree86-libs port.
>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=85254
>
> Well, we do have some inconsistency with x11/linux-Xfree86-libs and
> emulators/linux-base-* ports. Can someone take a look at the problem
> and Do The Right Thing?

As I explained several times to Trevor (I don't know if only per mail or in a
PR or here on emulation@), the linux-X11 port already does the right thing
after the redesign. ld.so.conf is owned by the linux_base ports and files
owned by port A should not be modified by port B. I'm only aware of one
linux port which needs to modify ld.so.conf, and this is the linux-X11 port.

There may be exceptions to the B isn't allowd to modify files from A rule,
but in the linux_base case we don't need to make an excpetion. The
ld.so.conf is a config file and it doesn't hurt to have the linux-X11 path
in there.

Yes, there are other files which don't follow the "A/B"-rule, but just
because of this we don't need to show more bad habbit.

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
Science is true.  Don't be misled by facts.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051026150319.e8j8u9brwwwgkwk0>