[MacPorts] #19336: php5/swig: Remove apache2 from the default installation

MacPorts noreply at macports.org
Sun Apr 19 00:19:28 PDT 2009


#19336: php5/swig: Remove apache2 from the default installation
--------------------------------------+-------------------------------------
 Reporter:  raimue@…                  |       Owner:  ryandesign@…           
     Type:  enhancement               |      Status:  new                    
 Priority:  Normal                    |   Milestone:  Port Enhancements      
Component:  ports                     |     Version:  1.7.1                  
 Keywords:  default_variants apache2  |        Port:  php5 swig              
--------------------------------------+-------------------------------------

Comment(by ryandesign@…):

 php used to be a language used only for web sites. The php ports used to
 build with support for Mac OS X Apache by default if you did not specify
 otherwise. This caused default installs of php to fail on Leopard (as
 reported in #16478) because Leopard includes Apache 2 instead of Apache 1.
 I changed it in r39862 so that +apache2 was the default on all systems,
 both to fix the Leopard issue and to promote the use of MacPorts software
 instead of Apple software, as is our standing policy. I also made it
 possible to build with no web server support using a new +no_web variant.
 However this is not the default because we have many ports in MacPorts for
 web apps which declare a dependency on php5. If php5 did not install web
 support by default, those web apps would not be usable.

 swig, in its own right, declares dependencies on as many languages as
 possible by default, since ports that declare dependencies on swig assume
 swig can generate any requested language binding.

 I would like to fix this for php by breaking php into many ports. There
 will be separate ports for each SAPI, so that if you just require some
 basic form of PHP to be present, you can declare a dependency on, say,
 php5-core; if you require php with web support, you can declare a
 dependency on, say, php5-web; and if you require specifically apache2
 support in php, you could declare a dependency on php5-apache2. See #19091
 for details of this task.

-- 
Ticket URL: <http://trac.macports.org/ticket/19336#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list