From owner-freebsd-ports@FreeBSD.ORG Mon Apr 14 11:34:47 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 2B30037B401 for ; Mon, 14 Apr 2003 11:34:47 -0700 (PDT) Received: from graf.pompo.net (lns-th2-6f-81-57-186-139.adsl.proxad.net [81.57.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id A284943FA3 for ; Mon, 14 Apr 2003 11:34:45 -0700 (PDT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 3B9B17629; Mon, 14 Apr 2003 20:31:49 +0200 (CEST) Date: Mon, 14 Apr 2003 20:31:49 +0200 From: Thierry Thomas To: freebsd-ports Message-ID: <20030414183149.GA41083@graf.pompo.net> Mail-Followup-To: freebsd-ports References: <20030412014900.GH36951@freepuppy.bellavista.cz> <20030412070303.GA56245@graf.pompo.net> <20030414112027.GJ36951@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030414112027.GJ36951@freepuppy.bellavista.cz> X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.8-RC i386 Organization: Kabbale Eros X-PGP: 0xC71405A2 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 18:34:47 -0000 Le Lun 14 avr 03 à 13:20:27 +0200, Roman Neuhauser écrivait : > he tried to separate PEAR from what? he retired lang/php4 to > separate PEAR from mod_php4? lang/php4 and www/mod_php4 were two distinct ports, and he wanted to make a separate port with the PEAR bundled packages. > anyway, you can't really separate PEAR from PHP: pear(1) is run in > php(1) (CLI or CGI). Yes, pear should depends upon lang/php, but it was replacing parts installed by www/mod_php4. > 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. I had tested Dirk's pre-version, and it was OK for me, but he faced some difficulties and finally committed the current port. -- Th. Thomas.