diff options
author | Michael Haro <mharo@FreeBSD.org> | 2004-08-28 18:10:38 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2004-08-28 18:10:38 +0000 |
commit | f04178a470421f3a87f0f1a801833397ac853a0e (patch) | |
tree | ea359ceeb8d565a43a467519ee0382f64a19b453 | |
parent | Fix typo. (diff) |
add option to compile with support for quotas
PR: 68644
Submitted by: Krzysztof Stryjek <wtp+proftpd@bsdguru.org>
-rw-r--r-- | ftp/proftpd-devel/Makefile | 10 | ||||
-rw-r--r-- | ftp/proftpd/Makefile | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile index e55176081cee..cab6afab60bd 100644 --- a/ftp/proftpd-devel/Makefile +++ b/ftp/proftpd-devel/Makefile @@ -113,6 +113,16 @@ MAN8+= ftpdctl.8 .else .endif +.if defined(WITH_QUOTA) +MODULES:=${MODULES}:mod_quotatab:mod_quotatab_file +.if defined(WITH_LDAP) +MODULES:=${MODULES}:mod_quotatab_ldap +.endif +.if defined(WITH_POSTGRESQL) || defined(WITH_MYSQL) +MODULES:=${MODULES}:mod_quotatab_sql +.endif +.endif + # Keep this here below, in case similar constructs need to be made CONFIGURE_ENV+= "LIBS=${PROFTPD_LIBS}" diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile index e55176081cee..cab6afab60bd 100644 --- a/ftp/proftpd/Makefile +++ b/ftp/proftpd/Makefile @@ -113,6 +113,16 @@ MAN8+= ftpdctl.8 .else .endif +.if defined(WITH_QUOTA) +MODULES:=${MODULES}:mod_quotatab:mod_quotatab_file +.if defined(WITH_LDAP) +MODULES:=${MODULES}:mod_quotatab_ldap +.endif +.if defined(WITH_POSTGRESQL) || defined(WITH_MYSQL) +MODULES:=${MODULES}:mod_quotatab_sql +.endif +.endif + # Keep this here below, in case similar constructs need to be made CONFIGURE_ENV+= "LIBS=${PROFTPD_LIBS}" |