Ticket #8255: Portfile.diff

File Portfile.diff, 570 bytes (added by ldeck, 19 years ago)

diff adding mysql5 variant

  • Portfile

    old new  
    3939   }
    4040}
    4141
     42variant mysql5 {
     43   depends_lib-append    lib:libmysqlclient:mysql5
     44   configure.args-append --with-mysql=${prefix}/bin/mysql_config5
     45
     46   post-configure {
     47      reinplace "s|<mysql/mysql.h>|\"${prefix}/include/mysql5/mysql/mysql.h\"|g" \
     48                "${worksrcpath}/src/mod_mysql_vhost.c"
     49   }
     50}
     51
    4252variant ssl {
    4353   depends_lib-append   bin:openssl:openssl
    4454   configure.args-append --with-openssl=${prefix}/include/openssl