Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2005 08:44:57 +0900 (JST)
From:      KIMURA Yasuhiro <yasu@utahime.org>
To:        ports@freebsd.org, andy@siliconlandmark.com
Subject:   Re: [PATCH] /etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5).
Message-ID:  <20051227.084457.106855915.yasu@utahime.org>
In-Reply-To: <20051226165948.I68523@lexi.siliconlandmark.com>
References:  <20051226112327.G68523@lexi.siliconlandmark.com> <20051226165948.I68523@lexi.siliconlandmark.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Andre Guibert de Bruet <andy@siliconlandmark.com>
Subject: Re: [PATCH] /etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5).
Date: Mon, 26 Dec 2005 17:23:05 -0500 (EST)

> On Monday 26 December 2005 17:14, RW wrote:
> > On Monday 26 December 2005 17:14, Andre Guibert de Bruet wrote:
> >> I attached a patch that fixes the lack of a default value for this
> >> variable in /usr/local/etc/rc.d/compat5x.sh (It can be found online as
> >> well at http://bling.properkernel.com/freebsd/compat5x.rc.d.patch )
> > Should this not default to "YES"?
> > compat5x is a library dependence, why should a library dependence need 
> > to be turned-on in rc.conf?
> Though I appreciate the modularity, I don't understand the need for the 
> knob in this port. Perhaps the script should be renamed to match the 
> naming used in ports like mysql-client and pkgtools for sake of 
> consistency:

I think ldconfig setting should be done by adding following line to
/etc/rc.conf.

ldconfig_paths="/usr/local/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/compat/pkg"

Though this solution requires user a bit complex setting, there is an
advantage that ldconfig setting is done befere any rc scripts for local
packages are executed.

---
KIMURA Yasuhiro



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