From owner-freebsd-gnome Mon Jan 21 18:38:47 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from creme-brulee.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id F2B6337B402; Mon, 21 Jan 2002 18:38:43 -0800 (PST) Received: from shumai.marcuscom.com (marcus@shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.6/8.11.6) with ESMTP id g0M2bkZ64120; Mon, 21 Jan 2002 21:37:47 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: dependency question From: Joe Clarke To: Glenn Johnson Cc: Maxim Sobolev , freebsd-gnome@FreeBSD.org In-Reply-To: <20020122013838.GA20427@gforce.johnson.home> References: <20020120205118.GA447@gforce.johnson.home> <1011565282.28534.22.camel@shumai.marcuscom.com> <20020120234902.GA74865@gforce.johnson.home> <1011573437.28534.24.camel@shumai.marcuscom.com> <20020121011015.GA20453@gforce.johnson.home> <1011575865.28534.39.camel@shumai.marcuscom.com> <20020121031843.GA23586@gforce.johnson.home> <3C4BE9F6.A85C98B5@FreeBSD.org> <20020122013838.GA20427@gforce.johnson.home> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.1 Date: 21 Jan 2002 21:38:58 -0500 Message-Id: <1011667138.85870.20.camel@shumai.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 2002-01-21 at 20:38, Glenn Johnson wrote: > On Mon, Jan 21, 2002 at 12:14:14PM +0200, Maxim Sobolev wrote: > > > When you are unsure about what dependencies does the port have you > > could do `make package-depends' in port's directory and it will print > > them all to stdout. Simple as that... > > OK, I did this and I noticed something else that I need clarification > on. I have a BUILD_DEPENDS on ispell. The software can use > either aspell or ispell but I set the BUILD_DEPENDS to insure that > spellchecking gets enabled. If neither aspell nor ispell is present > then spellchecking is disabled at the configuration step. However, when > I run 'make package-depends', ispell is not listed. This would mean > that I should also list ispell as a RUN_DEPENDS so that it is properly > installed if my port is installed as a package. Is that the proper way > to handle this situation? I've always seen (and used) a config macro knob to do this kind of configuration. For example, if I want to enable Ispell checking, I might do: make -DMYPORT_WITH_ISPELL then suck in the correct dependencies, and set the right configure args. If no spell option is given, then just disable spelling altogether, or go to a default spell checking method. Also, maybe use the PACKAGE_BUILDING macro to build a default spell checking method....something like the way editors/vim does it. Joe > > -- > Glenn Johnson > glennpj@charter.net > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message