Ticket #1639: patch_php4.txt

File patch_php4.txt, 790 bytes (added by contact1@…, 20 years ago)

patch to fix apache2 path issues

Line 
1--- ../../../../darwinports/dports/www/php4/Portfile    Wed Mar 17 10:09:53 2004
2+++ Portfile Wed Mar 17 10:10:50 2004
3@@ -29,6 +29,8 @@
4 
5 patchfiles  patch-configure
6 
7+set apache2_path ${prefix}/apache2
8+
9 depends_lib lib:libiconv.2:libiconv \
10        lib:libexpat.0.4:expat  \
11        lib:libintl:gettext \
12@@ -184,7 +186,7 @@
13 
14      if { [variant_isset apache2] } {
15        file mkdir ${destroot}${apache2_path}/modules
16-       xinstall -m 755 ${worksrcpath}/libs/libphp4.so ${destroot}${apache_path}/modules/
17+       xinstall -m 755 ${worksrcpath}/libs/libphp4.so ${destroot}${apache2_path}/modules/
18        file mkdir ${destroot}${apache2_path}/conf/extras-conf
19        xinstall -o root -m 755 -c  ${portpath}/files/mod_php.conf ${destroot}${apache2_path}/conf/extras-conf
20      }