Ticket #31122: add-mpmitk.patch
File add-mpmitk.patch, 3.2 KB (added by neverpanic (Clemens Lang), 13 years ago) |
---|
-
files/mpmitk-fix-add-mpm-to-build-system.patch
1 --- apache2.2-mpm-itk-2.2.17-01.patch.orig 2011-09-05 14:35:41.000000000 +0200 2 +++ apache2.2-mpm-itk-2.2.17-01.patch 2011-09-05 14:36:22.000000000 +0200 3 @@ -1938,8 +1938,8 @@ 4 AC_MSG_CHECKING(which MPM to use) 5 AC_ARG_WITH(mpm, 6 APACHE_HELP_STRING(--with-mpm=MPM,Choose the process model for Apache to use. 7 -- MPM={beos|event|worker|prefork|mpmt_os2}),[ 8 -+ MPM={beos|event|worker|prefork|mpmt_os2|itk}),[ 9 +- MPM={beos|event|worker|prefork|mpmt_os2|winnt}),[ 10 ++ MPM={beos|event|worker|prefork|mpmt_os2|winnt|itk}),[ 11 APACHE_MPM=$withval 12 ],[ 13 if test "x$APACHE_MPM" = "x"; then -
Portfile
22 22 use_bzip2 yes 23 23 use_parallel_build yes 24 24 25 checksums rmd160 299d1a8a9f3a6eb925d63ce96fa8ea4a06ec1f17 \ 25 checksums httpd-${version}.tar.bz2 \ 26 rmd160 299d1a8a9f3a6eb925d63ce96fa8ea4a06ec1f17 \ 26 27 sha256 1ee914855249b09d9cd2e20e98a0ab02f15c270fe277d4a5c9b62975479fc81e 27 28 28 29 depends_lib port:apr \ … … 142 143 } 143 144 } 144 145 145 variant preforkmpm conflicts workermpm eventmpm description {Use prefork MPM} {146 variant preforkmpm conflicts workermpm eventmpm itkmpm description {Use prefork MPM} { 146 147 configure.args-append --with-mpm=prefork 147 148 } 148 149 149 variant workermpm conflicts preforkmpm eventmpm description {Use worker MPM} {150 variant workermpm conflicts preforkmpm eventmpm itkmm description {Use worker MPM} { 150 151 configure.args-append --with-mpm=worker 151 152 } 152 153 153 variant eventmpm conflicts preforkmpm workermpm description {Use event MPM (experimental)} {154 variant eventmpm conflicts preforkmpm workermpm itkmpm description {Use event MPM (experimental)} { 154 155 configure.args-append --with-mpm=event 155 156 } 156 157 157 if {![variant_isset workermpm] && ![variant_isset eventmpm]} { 158 variant itkmpm conflicts preformmpm workermpm eventmpm description {Use ITK-MPM from http://mpm-itk.sesse.net/ (experimental)} { 159 configure.args-append --with-mpm=itk 160 master_sites-append http://mpm-itk.sesse.net/:mpmitk 161 distfiles-append apache2.2-mpm-itk-2.2.17-01.patch:mpmitk 162 checksums-append apache2.2-mpm-itk-2.2.17-01.patch \ 163 rmd160 3c6cf5d19cf248ebcc23704f1a7a72b3d9046f97 \ 164 sha256 4da8b0549d9c099f8542b1c7378383b4f74a9ecb906b5677d2fa5c134d374b8a 165 patchfiles-append mpmitk-fix-add-mpm-to-build-system.patch 166 post-extract { 167 file copy -- "${distpath}/apache2.2-mpm-itk-2.2.17-01.patch" "${worksrcpath}" 168 } 169 post-patch { 170 system "cd ${worksrcpath} && patch -p1 <apache2.2-mpm-itk-2.2.17-01.patch" 171 } 172 pre-configure { 173 system "cd ${worksrcpath} && autoreconf" 174 } 175 } 176 177 if {![variant_isset workermpm] && ![variant_isset eventmpm] && ![variant_isset itkmpm]} { 158 178 default_variants +preforkmpm 159 179 } 160 180