From owner-freebsd-ports@FreeBSD.ORG Mon Apr 14 04:20:31 2003 Return-Path: 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 8E21937B401 for ; Mon, 14 Apr 2003 04:20:31 -0700 (PDT) Received: from mail.bellavista.cz (mail.bellavista.cz [213.235.167.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF9743F75 for ; Mon, 14 Apr 2003 04:20:28 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id 811533BC for ; Mon, 14 Apr 2003 13:20:27 +0200 (CEST) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 6789C2FDB3C; Mon, 14 Apr 2003 13:20:27 +0200 (CEST) Date: Mon, 14 Apr 2003 13:20:27 +0200 From: Roman Neuhauser To: freebsd-ports Message-ID: <20030414112027.GJ36951@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-ports References: <20030412014900.GH36951@freepuppy.bellavista.cz> <20030412070303.GA56245@graf.pompo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030412070303.GA56245@graf.pompo.net> User-Agent: Mutt/1.5.1i Subject: Re: lang/php4, www/mod_php4{Makefile,scripts/configure.php} X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 11:20:31 -0000 # thierry@pompo.net / 2003-04-12 09:03:03 +0200: > Le Sam 12 avr 03 ? 3:49:00 +0200, Roman Neuhauser > écrivait : > > dirk@ seems to have disappeared, so I thought I'd think aloud here. > > > > It's quite obvious that the decision to retire lang/php4 was > > shortsighted. But that's not the only problem with PHP(-related) ports > > IMO. Another sore is that PEAR depends on mod_php4, leading to > > absurdities like this one: > > > > Port: pear-Console_Getopt-1.0 > > Path: /usr/ports/devel/pear-Console_Getopt > > Info: PEAR command-line option parser > > Maint: ports@FreeBSD.org > > Index: devel www > > B-deps: apache-1.3.27_4 expat-1.95.6_1 mod_php4-4.3.1 mysql-client-3.23.55 pear-install-4.3.0 > > R-deps: apache-1.3.27_4 expat-1.95.6_1 mod_php4-4.3.1 mysql-client-3.23.55 pear-install-4.3.0 > > Dirk had tried to separate PHP & PEAR, but it was not easy, and many > people were waiting for 4.3.1. > > See > > for the complete story. he tried to separate PEAR from what? he retired lang/php4 to separate PEAR from mod_php4? anyway, you can't really separate PEAR from PHP: pear(1) is run in php(1) (CLI or CGI). so, given that you'll need a php(1) anyway, let's describe a use case (lines starting with "->" are done on behalf of the user by the ports system): cd /usr/ports/sysutils/pear-Log && make install # pear- ports depend on pear(1) for registration -> cd /usr/ports/devel/pear-whatever -> fetch php-4.3.1.tar.gz # pear(1) is a PHP script, thus it depends on lang/php4 # oh, we have php-4.3.1.tar.gz in distfiles, fine! -> CONFIGURE_ARGS= --enable-cli --without-pear ... -> INSTALL_TARGET= install-modules install-sapi # fine, let's get back to intalling pear -> NO_BUILD= yes -> CONFIGURE_ARGS= --disable-all --with-pear ... -> INSTALL_TARGET= install-pear I haven't actually tried this yet, so there might be some gotchas, but having had a glance in 4.3.1's Makefile I don't see anything obvious. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html