From owner-freebsd-ports@FreeBSD.ORG Tue Mar 21 02:22:00 2006 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 5C13516A400; Tue, 21 Mar 2006 02:22:00 +0000 (UTC) (envelope-from alfred.morgan@experclick.com) Received: from mail20.intermedia.net (mail20.intermedia.net [64.78.61.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3A1243D60; Tue, 21 Mar 2006 02:21:51 +0000 (GMT) (envelope-from alfred.morgan@experclick.com) Received: from [192.168.102.54] (cust-64-4-140-149.dsl.fix.net [64.4.140.149]) by mail20.intermedia.net (Postfix) with ESMTP id B6DEED8CB; Mon, 20 Mar 2006 18:21:46 -0800 (PST) Message-ID: <441F56BE.80606@experclick.com> Date: Mon, 20 Mar 2006 17:28:30 -0800 From: Alfred Morgan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060213 X-Accept-Language: en-us, en To: Tom McLaughlin References: <1142823791.62391.3.camel@bofh> In-Reply-To: <1142823791.62391.3.camel@bofh> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org, Ceri Davies , doc@freebsd.org Subject: Re: update document 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: Tue, 21 Mar 2006 02:22:00 -0000 It seems that set_rcvar in /etc/rc.subr checks OSTYPE and checks for NetBSD and would set rcvar to something different (without the _enable appended) p.s. when I said OpenBSD in my first email I ment NetBSD. -alfred Tom McLaughlin wrote: On Sun, 2006-03-19 at 18:36 +0000, Ceri Davies wrote: On 15/3/06 19:15, "Alfred Morgan" [1] wrote: In this document: [2]http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts .h tml Can we change: rcvar=${name}_enable to be : rcvar=`set_rcvar` so that it would be a good example how to be other OS (OpenBSD) compatible as well. OpenBSD doesn't use rcNG. Tom If that's the accepted way for FreeBSD ports to do it, sure. If not, then we need to get buy in from our ports guys first - ports guys? Ceri References 1. mailto:alfred.morgan@experclick.com 2. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.h