[MacPorts] #2055: php4 fails on +apache2
MacPorts
noreply at macports.org
Thu Mar 24 07:37:44 PDT 2016
#2055: php4 fails on +apache2
-------------------------+-------------------------
Reporter: contact1@… | Owner: bchesneau@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.0
Resolution: fixed | Keywords:
Port: php4 |
-------------------------+-------------------------
Changes (by ryandesign@…):
* port: => php4
Old description:
> There are some messed up path names for apache2. Here is a patch to the
> Portfile that fixes the
> issues.
>
> --- Portfile Fri Apr 16 06:14:14 2004
> +++ /darwinports_saved/local/dports/www/php4/Portfile Mon May 17
> 03:53:24 2004
> @@ -87,7 +87,7 @@
>
> variant apache2 {
> depends_lib-append path:${prefix}/apache2/bin/apxs:apache2
> - configure.args-append --with-apxs2=${apache2_path}/bin/apxs
> + configure.args-append --with-apxs2=${prefix}/apache2/bin/apxs
> }
>
> variant crypt {
> @@ -201,10 +201,10 @@
> }
>
> if { [variant_isset apache2] } {
> - file mkdir ${destroot}${apache2_path}/modules
> - xinstall -m 755 ${worksrcpath}/libs/libphp4.so
> ${destroot}${apache_path}/modules/
> - file mkdir ${destroot}${apache2_path}/conf/extras-conf
> - xinstall -o root -m 755 -c
> ${portpath}/files/mod_php.conf ${destroot}${apache2_path}/
> conf/extras-conf
> + file mkdir ${destroot}${prefix}/apache2/modules
> + xinstall -m 755 ${worksrcpath}/libs/libphp4.so
> ${destroot}${prefix}/apache2/modules/
> + file mkdir ${destroot}${prefix}/apache2/conf/extras-conf
> + xinstall -o root -m 755 -c
> ${portpath}/files/mod_php.conf ${destroot}${prefix}/apache2/
> conf/extras-conf
> }
>
> if { [variant_isset cli] } {
New description:
There are some messed up path names for apache2. Here is a patch to the
Portfile that fixes the
issues.
{{{
--- Portfile Fri Apr 16 06:14:14 2004
+++ /darwinports_saved/local/dports/www/php4/Portfile Mon May 17
03:53:24 2004
@@ -87,7 +87,7 @@
variant apache2 {
depends_lib-append path:${prefix}/apache2/bin/apxs:apache2
- configure.args-append --with-apxs2=${apache2_path}/bin/apxs
+ configure.args-append --with-apxs2=${prefix}/apache2/bin/apxs
}
variant crypt {
@@ -201,10 +201,10 @@
}
if { [variant_isset apache2] } {
- file mkdir ${destroot}${apache2_path}/modules
- xinstall -m 755 ${worksrcpath}/libs/libphp4.so
${destroot}${apache_path}/modules/
- file mkdir ${destroot}${apache2_path}/conf/extras-conf
- xinstall -o root -m 755 -c ${portpath}/files/mod_php.conf
${destroot}${apache2_path}/conf/extras-conf
+ file mkdir ${destroot}${prefix}/apache2/modules
+ xinstall -m 755 ${worksrcpath}/libs/libphp4.so
${destroot}${prefix}/apache2/modules/
+ file mkdir ${destroot}${prefix}/apache2/conf/extras-conf
+ xinstall -o root -m 755 -c ${portpath}/files/mod_php.conf
${destroot}${prefix}/apache2/conf/extras-conf
}
if { [variant_isset cli] } {
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/2055#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list