1 | --- Portfile.orig 2009-04-15 17:07:32.000000000 -0700 |
---|
2 | +++ Portfile 2009-04-16 10:16:51.000000000 -0700 |
---|
3 | @@ -70,7 +70,7 @@ |
---|
4 | |
---|
5 | platform darwin 6 { configure.args-delete --with-pam } |
---|
6 | |
---|
7 | -variant tls { depends_lib lib:libssl.0.9:openssl |
---|
8 | +variant tls { depends_lib lib:libssl.dylib:openssl |
---|
9 | configure.args-append --with-tls \ |
---|
10 | --with-certfile=${prefix}/etc/ssl/private/pure-ftpd.pem |
---|
11 | } |
---|
12 | @@ -113,3 +113,9 @@ |
---|
13 | |
---|
14 | variant simplified_chinese { configure.args-append --with-language=simplified-chinese } |
---|
15 | |
---|
16 | +variant mysql5 { |
---|
17 | + depends_lib-append path:/opt/local/bin/mysql_config5:mysql5 |
---|
18 | + configure.args-append --with-mysql |
---|
19 | + configure.cflags-append "-I${prefix}/include/mysql5/mysql" |
---|
20 | + configure.ldflags-append "-L${prefix}/lib/mysql5/mysql" |
---|
21 | +} |
---|