Ticket #20333: subversion.patch

File subversion.patch, 1.6 KB (added by jochen@…, 15 years ago)

Portfile patch for variant disable_sasl

  • Portfile

     
    3939                        --disable-neon-version-check --with-serf=${prefix} \
    4040                        --with-sasl=${prefix}
    4141
     42if {[variant_isset disable_sasl]} {
     43universal_variant       yes
     44} else {
    4245# port:cyrus-sasl2 is not universal
    4346universal_variant       no
    44 
     47}
    4548use_parallel_build      yes
    4649build.target            all
    4750
     
    9598
    9699                                        destroot.violate_mtree yes
    97100
    98                                         post-install {
    99                                                         ui_warn "This variant (+mac_os_x_server_mod_dav_svn) builds against the Apple-supplied apache2 in /opt/apache2 and thus may have problems that the normal variant (+mod_dav_svn) which builds against the macports supplied apache2 will not have."
    100                                                          }
     101                                        post-install { ui_warn "This variant (+mac_os_x_server_mod_dav_svn) builds against the Apple-supplied apache2 in /opt/apache2 and thus may have problems that the normal variant (+mod_dav_svn) which builds against the macports supplied apache2 will not have." }
    101102                                        }
    102103
    103104variant tools           description {Install some optional extra subversion tools} {
     
    131132                                        configure.args-append --disable-keychain
    132133                                }
    133134
     135variant disable_sasl            description {Disables support for SASL authentication (allows to compile subversion universal)} {
     136                                        depends_lib-delete port:cyrus-sasl2
     137                                        configure.args-delete --with-sasl=${prefix}
     138                                        configure.args-append --without-sasl
     139                                }
     140
    134141# 10.3 says -> CarbonCore/MacTypes.h: No such file or directory
    135142platform darwin 7 {             configure.args-append \
    136143                                        --disable-keychain