diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-04-06 09:59:20 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-04-06 09:59:20 +0000 |
commit | d3b420bc07c97e58528f4083d6b29cce5ad48444 (patch) | |
tree | 9c391ea760a3fcecffb6f306df61eaa00fbd8cfd /ftp/proftpd | |
parent | c1c96a9e8c5768d43fb025b4f477cdf62266fab6 (diff) | |
download | ports-d3b420bc07c97e58528f4083d6b29cce5ad48444.tar.gz ports-d3b420bc07c97e58528f4083d6b29cce5ad48444.zip |
Notes
Diffstat (limited to 'ftp/proftpd')
-rw-r--r-- | ftp/proftpd/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile index cb1ccd51833c..57ad16c663d5 100644 --- a/ftp/proftpd/Makefile +++ b/ftp/proftpd/Makefile @@ -46,7 +46,7 @@ OPTIONS= IPV6 "Use IPv6" off \ LDAP "Use LDAP" off \ LDAP_TLS "Use LDAP TLS (Requires LDAP)" off\ MYSQL "Use MySQL" off \ - POSTGRESQL "Use Postgres" off \ + PGSQL "Use Postgres" off \ OPENSSL "Include mod_tls" off \ QUOTA "Include mod_quota" off \ IFSESSION "Include mod_ifsession" on \ @@ -155,7 +155,7 @@ LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib .if defined(WITH_MYSQL) USE_MYSQL= yes -MODULES:=${MODULES}:mod_sql:mod_sql_mysql +MODULES:=${MODULES}:mod_sql_mysql INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include:${LOCALBASE}/include/mysql LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib/mysql PLIST_SUB+= MYSQL="" @@ -163,13 +163,17 @@ PLIST_SUB+= MYSQL="" PLIST_SUB+= MYSQL="@comment " .endif -.if defined(WITH_POSTGRESQL) +.if defined(WITH_PGSQL) USE_PGSQL= yes -MODULES:=${MODULES}:mod_sql:mod_sql_postgres +MODULES:=${MODULES}:mod_sql_postgres INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib .endif +.if ${MODULES:M*mod_sql_*} +MODULES:=${MODULES}:mod_sql +.endif + .if defined(WITH_OPENSSL) CFLAGS+= -DHAVE_OPENSSL .include <${PORTSDIR}/Mk/bsd.openssl.mk> @@ -193,7 +197,7 @@ MODULES:=${MODULES}:mod_quotatab:mod_quotatab_file .if defined(WITH_LDAP) MODULES:=${MODULES}:mod_quotatab_ldap .endif -.if defined(WITH_POSTGRESQL) || defined(WITH_MYSQL) +.if defined(WITH_PGSQL) || defined(WITH_MYSQL) MODULES:=${MODULES}:mod_quotatab_sql .endif .endif |