Opened 20 years ago

Closed 19 years ago

Last modified 8 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 Carsten 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 20 years ago by mww@…

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

is this still valid? (assign to Benoit)

comment:2 Changed 19 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 19 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 8 years ago by ryandesign (Ryan Carsten Schmidt)

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