Ticket #20743: apache2-2.2.13.diff
File apache2-2.2.13.diff, 2.0 KB (added by nox@…, 15 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name apache2 6 version 2.2.1 16 version 2.2.13 7 7 categories www 8 8 maintainers imajes 9 9 description The extremely popular second version of the Apache http server … … 21 21 use_bzip2 yes 22 22 use_parallel_build yes 23 23 24 checksums md5 3e98bcb14a7122c274d62419566431bb\25 sha1 7af256d53b79342f82222bd7b86eedbd9ac21d9a\26 rmd160 b2012af716a459f666e0e41eb04808bd0f7fc28d24 checksums md5 8d8d904e7342125825ec70f03c5745ef \ 25 sha1 44d85da1b8e6c579d4514cfefbea00b284717b69 \ 26 rmd160 4a6a2247cc118175a9a36f1e14344ee71da24627 27 27 28 28 depends_lib port:apr \ 29 29 port:apr-util \ … … 124 124 build.env-append "LD_LIBRARY_PATH=${prefix}/lib" 125 125 } 126 126 127 variant openldap {127 variant openldap description {Enable LDAP support through openldap} { 128 128 configure.args-append --enable-ldap --enable-authnz-ldap 129 129 depends_lib-append port:openldap 130 130 } 131 131 132 # This ends up being the default mpm if no other is chosen 133 variant preforkmpm { 132 variant preforkmpm description {Use MPM prefork} { 134 133 configure.args-append --with-mpm=prefork 135 134 } 136 135 137 # This mpm is probably preferred (maybe we should make it a default variant?) 138 variant workermpm { 136 variant workermpm conflicts preforkmpm description {Use MPM worker} { 139 137 configure.args-append --with-mpm=worker 140 138 } 141 139 142 # This mpm is experimental 143 variant eventmpm { 140 variant eventmpm conflicts preforkmpm workermpm description {Use MPM event (experimental)} { 144 141 configure.args-append --with-mpm=event 145 142 } 146 143 147 variant no_startupitem { 144 if {![variant_isset preforkmpm] && ![variant_isset workermpm] && ![variant_isset eventmpm]} { 145 default_variants +preforkmpm 146 variant_set preforkmpm 147 } 148 149 variant no_startupitem description {Do not create a startup item} { 148 150 startupitem.create no 149 151 } 150 152