Date: Tue, 21 Dec 2004 17:52:13 -0600 From: "Matthew D. Fuller" <fullermd@over-yonder.net> To: "Peter C. Lai" <sirmoo@cowbert.net> Cc: ports@freebsd.org Subject: Re: php4 via metaport Message-ID: <20041221235213.GH32388@over-yonder.net> In-Reply-To: <20041221142740.GF24545@cowbert.net> References: <20041221142740.GF24545@cowbert.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 21, 2004 at 09:27:40AM -0500 I heard the voice of Peter C. Lai, and lo! it spake thus: > > It appears I have to 'make install' for php4-extensions to be built, > but this is bad, since I want to only build the extensions via the > metaport (because I want to use /var/db/ports/php4-extensions to > direct the option flags) but not install them (say for a dedicated > build and dev machine). This would be difficult to do, I think. Consider that 1) All the php4-* extensions require php to be installed to build against, and that 2) Some of the php4-* extensions require other php4-* extensions. Now, (2) is essentially all runtime deps to my knowledge, so in theory you could route around that with some magic. Handling the build deps, though... that's tricky. Your best bet may be to use DESTDIR and PKG_DBDIR to 'install' them in a throwaway location, then use 'reinstall' to install 'em on the final machine if you're doing something like NFS mounting /usr/ports. One gotcha will be that the DESTDIR setting is still going to be used, so you may also have to toss in some symlinks on the final box to make it work quite right. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041221235213.GH32388>