Opened 16 years ago

Closed 16 years ago

Last modified 5 years ago

#2055 closed defect (fixed)

php4 fails on +apache2

Reported by: contact1@… Owned by: bchesneau@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: php4

Description (last modified by ryandesign (Ryan Schmidt))

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] } {

Change History (4)

comment:1 Changed 16 years ago by mww@…

Owner: changed from darwinports-bugs@… to bchesneau@…

is this still valid? (assign to Benoit)

comment:2 Changed 16 years ago by jberry@…

Can the reporter verify whether or not this is still valid? I use apache2 with php5 w/no problem.

Abert: can yoou verify that this is still a problem with the latest apache2 portfile, or close the bug please?

Thanks!

-jdb

comment:3 Changed 16 years ago by jberry@…

Resolution: fixed
Status: newclosed

I just looked at the php4 portfile, and this patch appears to already be in place. Closing bug.

comment:4 Changed 5 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Port: php4 added
Note: See TracTickets for help on using tickets.