[MacPorts] #41478: php55-apache2handler not working with apache24-devel
MacPorts
noreply at macports.org
Wed Nov 20 16:38:17 PST 2013
#41478: php55-apache2handler not working with apache24-devel
------------------------+----------------------------------
Reporter: dlambert@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: php55-apache2handler
------------------------+----------------------------------
It appears php55-apache2handler has a fixed dependency on the Apache 2.2
package. In the process of upgrading my development environment to PHP 5.5
and Apache 2.4 I found that installing php55-apache2handler reactivated my
Apache 2.2 port. I worked around this by modifying the local portfile:
{{{
321c321
< depends_lib-append port:apache24-devel
---
> depends_lib-append port:apache2
323,325c323,325
< set apxs ${prefix}/bin/apxs
< set confdir ${prefix}/etc/apache2
< set moduledir ${prefix}/lib/apache2/modules
---
> set apxs ${prefix}/apache2/bin/apxs
> set confdir ${prefix}/apache2/conf
> set moduledir ${prefix}/apache2/modules
}}}
Unfortunately apache24-devel uses different (though more consistent with
other ports) file locations. It would be great if php55-apache2handler
supported both versions/ports. Even better would be unifying the two
versions into one port like php, but that's another thing entirely.
--
Ticket URL: <https://trac.macports.org/ticket/41478>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list