From owner-freebsd-questions@FreeBSD.ORG Fri Nov 28 23:59:03 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8751F16A4CE for ; Fri, 28 Nov 2003 23:59:03 -0800 (PST) Received: from munk.nu (mail.munk.nu [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2695443FDF for ; Fri, 28 Nov 2003 23:59:00 -0800 (PST) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.24; FreeBSD) id 1AQ00J-0008ki-LK for freebsd-questions@freebsd.org; Sat, 29 Nov 2003 07:58:59 +0000 Date: Sat, 29 Nov 2003 07:58:59 +0000 From: Jez Hancock To: freebsd-questions@freebsd.org Message-ID: <20031129075859.GB26335@users.munk.nu> Mail-Followup-To: freebsd-questions@freebsd.org References: <3FC84DDA.4000502@princeton.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FC84DDA.4000502@princeton.edu> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: php4-4.3.4 port with apache-2.0.48_1 instead of apache-1.3.29_1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2003 07:59:03 -0000 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 > 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/