Date: Mon, 14 Apr 2003 20:31:49 +0200 From: Thierry Thomas <thierry@pompo.net> To: freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: lang/php4, www/mod_php4{Makefile,scripts/configure.php} Message-ID: <20030414183149.GA41083@graf.pompo.net> In-Reply-To: <20030414112027.GJ36951@freepuppy.bellavista.cz> References: <20030412014900.GH36951@freepuppy.bellavista.cz> <20030412070303.GA56245@graf.pompo.net> <20030414112027.GJ36951@freepuppy.bellavista.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Le Lun 14 avr 03 à 13:20:27 +0200, Roman Neuhauser <neuhauser@bellavista.cz> é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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030414183149.GA41083>