Ticket #3569: lighttpd-diff

File lighttpd-diff, 1.3 KB (added by jstetser@…, 19 years ago)

Diff for Portfile

Line 
1Index: portfile-lighttpd-1.3.14
2===================================================================
3--- portfile-lighttpd-1.3.14    (revision 49)
4+++ portfile-lighttpd-1.3.14    (working copy)
5@@ -5,17 +5,26 @@
6 version           1.3.14
7 categories        www
8 maintainers       jstetser@icongarden.com
9+revision          1
10 description       A secure, fast, compliant and flexible web-server
11-long_description  lighttpd a secure, fast, compliant and very flexible\
12+long_description  lighttpd is a secure, fast, compliant and very flexible\
13                   web-server which has been optimized for high-performance\
14                   environments. It has a very low memory footprint\
15                   compared to other webservers and takes care of cpu-load.
16 homepage          http://www.lighttpd.net/
17 master_sites      ${homepage}/download/
18 checksums         md5 16d9f8c40bcb5638ee452fa23b21e346
19+depends_lib       lib:libpcre:pcre
20+
21 configure.args    --mandir=${prefix}/share/man
22 
23 variant mysql {
24-   depends_lib    lib:libmysqlclient:mysql4
25+   depends_lib-append    lib:libmysqlclient:mysql4
26    configure.args-append --with-mysql=${prefix}/bin/mysql_config
27+
28+   post-configure {
29+       reinplace "s|<mysql/mysql.h>|\"${prefix}/include/mysql/mysql.h\"|g" \
30+                 "${worksrcpath}/src/mod_mysql_vhost.c"
31+   }
32+
33 }
34\ No newline at end of file