Ticket #8599: php5-Portfile-conflicts.diff

File php5-Portfile-conflicts.diff, 828 bytes (added by opendarwin-2006@…, 18 years ago)

Ensures that only one of apache, apache2 or fastcgi can be selected

  • Portfile

    old new  
    116116        configure.args-append   --with-kerberos=/usr --with-iodbc=/usr
    117117}
    118118
    119 variant apache conflicts apache2 {
     119variant apache conflicts apache2 fastcgi {
    120120        if { ! [variant_isset macosx] } {
    121121                depends_lib-append      path:${prefix}/sbin/apxs:apache
    122122                configure.args-append   --with-apxs=${prefix}/sbin/apxs
     
    125125        }
    126126}
    127127
    128 variant apache2 conflicts apache {
     128variant apache2 conflicts apache fastcgi {
    129129        depends_lib-append      path:${prefix}/apache2/bin/apxs:apache2
    130130        configure.args-append   --with-apxs2=${prefix}/apache2/bin/apxs
    131131}
    132132
    133 variant fastcgi {
     133variant fastcgi conflicts apache apache2 {
    134134        configure.args-append --enable-fastcgi \
    135135                                --enable-force-cgi-redirect \
    136136                                --enable-memory-limit