Changeset 56514


Ignore:
Timestamp:
Aug 29, 2009, 9:18:58 AM (10 years ago)
Author:
ryandesign@…
Message:

apache2: add variant descriptions, mark mpm variants as conflicting with one another, mark preforkmpm variant as the default (which it has always been); closes #20516 (maintainer timeout)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/apache2/Portfile

    r50980 r56514  
    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 conflicts workermpm eventmpm description {Use prefork MPM} {
    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 eventmpm description {Use worker MPM} {
    139137        configure.args-append --with-mpm=worker
    140138}
    141139
    142 # This mpm is experimental
    143 variant eventmpm {
     140variant eventmpm conflicts preforkmpm workermpm description {Use event MPM (experimental)} {
    144141        configure.args-append --with-mpm=event
    145142}
    146143
    147 variant no_startupitem {
     144if {![variant_isset workermpm] && ![variant_isset eventmpm]} {
     145        default_variants +preforkmpm
     146}
     147
     148variant no_startupitem description {Do not create a startup item} {
    148149        startupitem.create      no
    149150}
Note: See TracChangeset for help on using the changeset viewer.