On Sat, Nov 29, 2003 at 02:42:18AM -0500, Seamus Abshere wrote:
> I would like to use the php4-4.3.4 port with the apache-2.0.48_1 port, 
> but php4-4.3.4 lists apache-1.3.29_1 as a dependency.
Try building mod_php4 with the flag -DWITH_APACHE2:

cd /usr/ports/www/mod_php4/ && make clean install -DWITH_APACHE2

<snip>
> I would still like the convenience of updating both 
> ports with a cron job.
If you use portupgrade you can specify that the mod_php port upgrades should 
include the relevant apache2 flag (-DWITH_APACHE2).  See the
pkgtools.conf manpage for more info after installing portupgrade from
the ports.

As an example my pkgtools.conf file includes:


        'www/mod_php4' => [
                'WITH_DOMXML=ON',
                'WITH_EXIF=ON',
                'WITH_FTP=ON',
                'WITH_GD=ON',
                'WITH_IMAP=ON',
                'WITH_MYSQL=ON',
                'WITH_OPENSSL=ON',
                'WITH_PCRE=ON',
                'WITH_POSIX=ON',
                'WITH_SESSION=ON',
                'WITH_XML=ON',
                'WITH_XMLRPC=ON',
                'WITH_ZLIB=ON',
        ],

indicating that mod_php4 should be upgraded using those build options.
IN your case you'd just want to add 'WITH_APACHE2' to make sure it gets
built for apache2.

HTH.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to