Ticket #44111: Portfile-apache24-devel.diff
File Portfile-apache24-devel.diff, 1.0 KB (added by Schamschula (Marius Schamschula), 10 years ago) |
---|
-
Portfile
old new 8 8 name apache24-devel 9 9 apache2.name apache2 10 10 version 2.4.9 11 revision 1 11 12 categories www 12 13 maintainers ryandesign mathiesen.info:macintosh pixilla openmaintainer 13 14 license Apache-2 … … 129 130 } 130 131 } 131 132 132 # post-activate { 133 post-activate { 134 set confDir ${prefix}/etc/${apache2.name} 135 if {![file exists ${confDir}/httpd.conf]} { 136 file copy ${confDir}/httpd.conf.orig ${confDir}/httpd.conf 137 reinplace "s|#LoadModule slotmem_shm_module|LoadModule slotmem_shm_module|g" \ 138 ${confDir}/httpd.conf 139 } 140 133 141 # 134 142 # if {![file exists ${apache2.sbindir}/envvars]} { 135 143 # xinstall -m 755 ${apache2.sbindir}/envvars-std ${apache2.sbindir}/envvars … … 148 156 # exec "${apache2.sbindir}/a2${action}" ${module} 149 157 # } 150 158 # } 151 #}159 } 152 160 153 161 platform openbsd { 154 162 build.env-append "LD_LIBRARY_PATH=${prefix}/lib"