ports/85254: [patch] emulators/linux_base-rh-9: add /usr/X11R6/lib to etc/ld.so.conf

Alexander Leidinger Alexander at Leidinger.net
Wed Oct 26 06:03:38 PDT 2005


Boris Samorodov <bsam at 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.




More information about the freebsd-emulation mailing list