Ticket #20743: apache2-2.2.13.diff

File apache2-2.2.13.diff, 2.0 KB (added by nox@…, 15 years ago)
  • Portfile

     
    33PortSystem       1.0
    44
    55name             apache2
    6 version          2.2.11
     6version          2.2.13
    77categories       www
    88maintainers      imajes
    99description      The extremely popular second version of the Apache http server
     
    2121use_bzip2        yes
    2222use_parallel_build  yes
    2323
    24 checksums        md5     3e98bcb14a7122c274d62419566431bb \
    25                  sha1    7af256d53b79342f82222bd7b86eedbd9ac21d9a \
    26                  rmd160  b2012af716a459f666e0e41eb04808bd0f7fc28d
     24checksums        md5     8d8d904e7342125825ec70f03c5745ef \
     25                 sha1    44d85da1b8e6c579d4514cfefbea00b284717b69 \
     26                 rmd160  4a6a2247cc118175a9a36f1e14344ee71da24627
    2727
    2828depends_lib      port:apr \
    2929                 port:apr-util \
     
    124124        build.env-append "LD_LIBRARY_PATH=${prefix}/lib"
    125125}
    126126
    127 variant openldap {
     127variant openldap description {Enable LDAP support through openldap} {
    128128        configure.args-append --enable-ldap --enable-authnz-ldap
    129129        depends_lib-append port:openldap
    130130}
    131131
    132 # This ends up being the default mpm if no other is chosen
    133 variant preforkmpm {
     132variant preforkmpm description {Use MPM prefork} {
    134133        configure.args-append --with-mpm=prefork
    135134}
    136135
    137 # This mpm is probably preferred (maybe we should make it a default variant?)
    138 variant workermpm {
     136variant workermpm conflicts preforkmpm description {Use MPM worker} {
    139137        configure.args-append --with-mpm=worker
    140138}
    141139
    142 # This mpm is experimental
    143 variant eventmpm {
     140variant eventmpm conflicts preforkmpm workermpm description {Use MPM event (experimental)} {
    144141        configure.args-append --with-mpm=event
    145142}
    146143
    147 variant no_startupitem {
     144if {![variant_isset preforkmpm] && ![variant_isset workermpm] && ![variant_isset eventmpm]} {
     145        default_variants +preforkmpm
     146        variant_set preforkmpm
     147}
     148
     149variant no_startupitem description {Do not create a startup item} {
    148150        startupitem.create      no
    149151}
    150152