lang/php4, www/mod_php4{Makefile,scripts/configure.php}
Thierry Thomas
thierry at pompo.net
Mon Apr 14 11:34:47 PDT 2003
Le Lun 14 avr 03 à 13:20:27 +0200, Roman Neuhauser <neuhauser at 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.
More information about the freebsd-ports
mailing list