From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 19:12:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8974E16A468 for ; Tue, 12 Feb 2008 19:12:51 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B8ED113C461 for ; Tue, 12 Feb 2008 19:12:50 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m1CJCi8W010459; Tue, 12 Feb 2008 19:12:45 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.4.4 smtp.infracaninophile.co.uk m1CJCi8W010459 Authentication-Results: smtp.infracaninophile.co.uk; dkim=hardfail (SSP) header.i=unknown Message-ID: <47B1EFAC.20203@infracaninophile.co.uk> Date: Tue, 12 Feb 2008 19:12:44 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.9 (X11/20080210) MIME-Version: 1.0 To: Peter Clark References: <47B1D0E1.9070706@mtmary.edu> In-Reply-To: <47B1D0E1.9070706@mtmary.edu> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Tue, 12 Feb 2008 19:12:45 +0000 (GMT) X-Virus-Scanned: ClamAV 0.92/5790/Tue Feb 12 18:06:53 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Build part of a port. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 19:12:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Peter Clark wrote: I am building a 7.0-RC1 FreeBSD LDAP server. I have installed OpenLDAP > from ports and now want to move on to the wed front end. I am using > Litespeed as the webserver (built from source), PHP-5 (built from source > and customized) and would like to install phpldapadmin. There is a port > for it but the port (and some of it's dependencies) will try to install > the php5 port and the apache port. Is there a way to install > phpldapadmin from ports while telling it (and it's dependencies) I have > php5 already installed and not to install apache? Unfortunately the port doesn't really offer any alternative to using the port's version of PHP as a dependency. There isn't really any alternative way to do that sort of thing given the current structure of PHP in the ports tree. You've got two choices, basically. Either give up on the idea of compiling your own PHP stuff, or install phpldapadmin outside the ports system. Given you've undertaken to maintain your PHP environment without the advantages provided from ports, maintaining phpldapadmin outside the ports as well is just a little extra work. On the other hand, examine well the configuration you've generated for your custom PHP install -- dollars to doughnuts you could generate something as near as dammit by a suitable combination of php-related ports and judicious application of build flags via /etc/make.conf. Doing it all the ports way makes the maintenance a lot easier over time. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHse+r8Mjk52CukIwRCIEUAKCVNqBWCjsOSBAl9iiRo9sU/lKYHACgkwrD hG/ioXjNPYaaTBJz+B1rKd4= =MDYE -----END PGP SIGNATURE-----