From owner-freebsd-ports@FreeBSD.ORG Mon Dec 26 23:45:10 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BC1F16A41F for ; Mon, 26 Dec 2005 23:45:10 +0000 (GMT) (envelope-from yasu@utahime.org) Received: from utahime.as.wakwak.ne.jp (utahime.as.wakwak.ne.jp [61.205.238.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0577543D46 for ; Mon, 26 Dec 2005 23:45:09 +0000 (GMT) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by utahime.as.wakwak.ne.jp (Postfix) with ESMTP id D7999B840; Tue, 27 Dec 2005 08:45:08 +0900 (JST) Received: from localhost.home.utahime.org (localhost.home.utahime.org [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id AF0D133; Tue, 27 Dec 2005 08:45:08 +0900 (JST) Received: from eastasia.home.utahime.org (localhost.home.utahime.org [127.0.0.1]) by localhost.home.utahime.org (AvMailGate-2.0.2-14) id 75118-4726EA91; Tue, 27 Dec 2005 08:45:08 +0900 Received: from localhost (angel.home.utahime.org [192.168.174.4]) by eastasia.home.utahime.org (Postfix) with ESMTP id 811AF22; Tue, 27 Dec 2005 08:45:08 +0900 (JST) Date: Tue, 27 Dec 2005 08:44:57 +0900 (JST) Message-Id: <20051227.084457.106855915.yasu@utahime.org> To: ports@freebsd.org, andy@siliconlandmark.com From: KIMURA Yasuhiro In-Reply-To: <20051226165948.I68523@lexi.siliconlandmark.com> References: <20051226112327.G68523@lexi.siliconlandmark.com> <20051226165948.I68523@lexi.siliconlandmark.com> X-Mailer: Mew version 4.2.54 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-14; AVE: 6.33.0.19; VDF: 6.33.0.67; host: eastasia.home.utahime.org) Cc: Subject: Re: [PATCH] /etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5). 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: Mon, 26 Dec 2005 23:45:10 -0000 From: Andre Guibert de Bruet 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