[PATCH] /etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5).

KIMURA Yasuhiro yasu at utahime.org
Mon Dec 26 15:45:10 PST 2005


From: Andre Guibert de Bruet <andy at 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


More information about the freebsd-ports mailing list