On Tue, Sep 27, 2005 at 03:23:41PM +0300, Dimitar Kodjabachev wrote: > I am trying to install the package pear-DB-1.6.8 on a 3.7 box (i386). > According to pear.php.net, PEAR DB 1.6.8 requires PHP version 4.2.0 or > newer, but the OpenBSD package has a @depend > www/php5/core,-pear:php5-pear-5.0.*:php5-pear-5.0.3p line in the > +CONTENTS file and so it refuses to work with PHP4. Is there a > specific reason for this and is there a workaround to make the package > work with PHP4?
The Makefile lists php5 Build the port with: env SUDO=sudo make MODULES=www/php4/pear should work. I think I had to fiddle with /usr/ports/www/php4/pear/Makefile aswell because the version number wasn't updated to be in sync with the stable version of php4 (which I think I forgot to tell the maintainer about)