On 2011-11-05, at 9:44 PM, Ryan Schmidt wrote: > > On Nov 5, 2011, at 19:02, Jeremy Lavergne wrote: > >>> My question is, is it possible to use PHP via Macports but with the >>> "--enable-fd-setsize=2048" option? >> >> You ought to be able to add this to your Portfile to add that configuration >> it: >> configure.args-append --enable-fd-setsize=2048 >> >> Once it's there, uninstall and reinstall but be sure to force macports to >> build from source, like so: >> port -s install php5
>> You can similarly use configure.args-delete to remove arguments. > > This implies that you would maintain your own local copy of the php5 > portfile, which you may not want to take on the responsibility of doing. But > there isn't a supported way to just add arbitrary configure arguments to > ports at the command line. You're right, I'd rather not do that. Here's what I would like to do: 1. Get the latest source -- I'm on 5.3.8, and want 5.3.9 -- but not compile right away (since I want to increase max file descriptors) 2. Change the PHP port file to include that compile option (where is it??) 3. Compile/build/install the latest, custom version of PHP 5.3.9. …Rene _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
