Opened 20 years ago

Last modified 8 years ago

#2055 closed defect

php4 fails on +apache2 — at Initial Version

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

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

Change History (0)

Note: See TracTickets for help on using tickets.