From owner-freebsd-ports Thu Mar 2 15:47:36 2000 Delivered-To: freebsd-ports@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 58F9537B61F for ; Thu, 2 Mar 2000 15:47:32 -0800 (PST) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id 961FC9B19; Thu, 2 Mar 2000 18:47:26 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 8D474BA1D; Thu, 2 Mar 2000 18:47:26 -0500 (EST) Date: Thu, 2 Mar 2000 18:47:26 -0500 (EST) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: "Matthew N. Dodd" Cc: freebsd-ports@freebsd.org Subject: Re: mod_php4 and other questions. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 2 Mar 2000, Matthew N. Dodd wrote: > I've created a port for php4 that builds using APXS. > *snip* > > One question I've got is how to deal with all the configurable options in > a sane manner. > > What I'd really like is to be able to figure out which ports are installed > and conditionally pass the right options to configure. > > Currently I've got --with-pgsql hardcoded; I'd like to avoid doing this > and let the port discover which databases are installed etc. > See http://www.fxp.org/~jedgar/mod_php3.shar.gz for my mod_php3 port that we use internally. I use a modified version of dirk's configure.php script from his apache13-php3 port to query the user for php options and configure/compile/install as appropriate. Personally, I would love to see a generic apache13 port and all sorts of mod_* ports to use, esp. to testing the functionality of various modules without having to reinstall the whole apache13-*-* ports. ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message