Ticket #8415: lighttpd.patch
File lighttpd.patch, 1.2 KB (added by joe@…, 19 years ago) |
---|
-
Portfile
old new 29 29 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 30 30 } 31 31 32 variant mysql {32 variant mysql4 { 33 33 depends_lib-append lib:libmysqlclient:mysql4 34 34 configure.args-append --with-mysql=${prefix}/bin/mysql_config 35 35 … … 39 39 } 40 40 } 41 41 42 variant 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 52 42 53 variant ssl { 43 54 depends_lib-append bin:openssl:openssl 44 55 configure.args-append --with-openssl=${prefix}/include/openssl … … 50 61 bin:memcached:memcached \ 51 62 bin:pkgconfig:pkgconfig 52 63 53 configure.args-append --with-lua \64 configure.args-append --with-lua=/opt/local \ 54 65 --with-memcache 66 67 configure.env-append LDFLAGS=-L/opt/local/lib 55 68 } 56 69 57 70 variant davprops {