From owner-freebsd-ports@FreeBSD.ORG Tue Dec 13 23:35:01 2005 Return-Path: X-Original-To: freebsd-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 8D39116A42A for ; Tue, 13 Dec 2005 23:35:01 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id D25F643D7F for ; Tue, 13 Dec 2005 23:34:42 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by wproxy.gmail.com with SMTP id i31so1793012wra for ; Tue, 13 Dec 2005 15:34:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=V18prATwjdJ2NuD8j94e7Vr3QpktHGR5l3maU915dAGlw1z5oKARiSsE0ih/tUb0+EDgUTC5IdHI/sj5kNVENM/tItIYUCh9oZzk9aCnMz3LeIxhsYCobSustS+0IArsc9cXVVGoZ344p7/3E2p63/HNXd4lcbAa9bTOIFLCjAk= Received: by 10.54.153.7 with SMTP id a7mr1779644wre; Tue, 13 Dec 2005 15:34:34 -0800 (PST) Received: from ringworm.mechee.com ( [71.102.14.129]) by mx.gmail.com with ESMTP id 39sm11013147wrl.2005.12.13.15.34.33; Tue, 13 Dec 2005 15:34:33 -0800 (PST) From: "Michael C. Shultz" To: freebsd-ports@freebsd.org Date: Tue, 13 Dec 2005 15:34:29 -0800 User-Agent: KMail/1.8.3 References: <20051213231950.GA27219@holestein.holy.cow> In-Reply-To: <20051213231950.GA27219@holestein.holy.cow> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512131534.29978.ringworm01@gmail.com> Cc: Parv Subject: Re: Installing & recording of optional software 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, 13 Dec 2005 23:35:01 -0000 On Tuesday 13 December 2005 15:19, Parv wrote: > Recently i had submitted databases/p5-DBIx-Simple port which can > optionally use other software to provide extra functionality. Let's > use databases/p5-SQL-Abstract as an example of this extra > functionality. Currently, DBIx-Simple port records SQL-Abstract as > runtime dependency if WITH_SQL_ABSTRACT is defined. > > In order to use DBIx-Simple, SQL-Abstract port does not need to > preexist during or after the install of DBIx-Simple. It is just > that SQL-Abstract functionality will not be available until > SQL-Abstract is installed. > > What i am trying to say is for DBIx-Simple port, IMO, recording of > SQL-Abstract as runtime dependency is wrong, and i need a better way > to inform the user that DBIx-Simple can use SQL-Abstract and install > the optional port if indicated so via WITH_SQL_ABSTRACT or some such > variable. > > Alternatively, only a message can be printed -- w/o installing any > optional software -- telling the user that DBIx-Simple can use > other software & they themselves need install it separately. > > Comments? > > > - Parv Why not just make a blue screen option? something like WITH_SQL-Abstrac and if the user selects it in your Makefile put a runtime dependency on it. This is covered in the porter4's handbook I believe. -Mike