From owner-freebsd-ports@FreeBSD.ORG Tue Dec 13 23:36:17 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 5032416A41F for ; Tue, 13 Dec 2005 23:36:17 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 3252D43D4C for ; Tue, 13 Dec 2005 23:36:15 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 26842 invoked from network); 13 Dec 2005 23:36:10 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 13 Dec 2005 23:36:10 -0000 Received: (qmail 30202 invoked by uid 89); 13 Dec 2005 23:36:10 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 13 Dec 2005 23:36:10 -0000 Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 651ECB80C; Wed, 14 Dec 2005 01:36:12 +0200 (EET) Date: Wed, 14 Dec 2005 01:36:11 +0200 From: Ion-Mihai Tetcu To: Parv Message-ID: <20051214013611.3e88be12@it.buh.tecnik93.com> In-Reply-To: <20051213231950.GA27219@holestein.holy.cow> References: <20051213231950.GA27219@holestein.holy.cow> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.8; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: f-ports 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:36:17 -0000 On Tue, 13 Dec 2005 18:19:50 -0500 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. If I, the user, define the optional WITH_FOO because I want to have that functionality then, for me, the port RUN_DEPENDS on FOO. I don't see your problem here; eventually convert the port to OPTIONS and try to squeeze an explanation of what using FOO in the option description. > 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. Please don't do this for at least this three reasons: - for me the port depends on FOO - it would take longer to install separate ports - tools like pkg_cutleaves need a way to know FOO is used (if we would be talking about BUILD_DEPENDS, even optional, then this approach would also brake portupgrade and equivalent tools) -- IOnut - Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" BOFH excuse #87: Password is too complex to decrypt