diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2009-10-16 18:09:23 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2009-10-16 18:09:23 +0000 |
commit | f7850319c89c94a501d0c69d40627c5d42f228d0 (patch) | |
tree | 9d9f431a007a4c71d355ca09b5c0be60ee962522 /ftp | |
parent | d52353ace16dbbdabb198b63a3cc7ec7ddacf882 (diff) |
- Rework QUOTA support to fix build breakage.
Noticed by: Peter Czanik <pczanik@fang.fa.au.hu>
Approved by: chris@officialunix.com (maintainer)
Notes
Notes:
svn path=/head/; revision=242933
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/proftpd/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile index f885e574b4ee..0109354171d8 100644 --- a/ftp/proftpd/Makefile +++ b/ftp/proftpd/Makefile @@ -230,22 +230,21 @@ PLIST_SUB+= CTRLS_ADMIN="" PLIST_SUB+= CTRLS_ADMIN="@comment " .endif +# LDAP, PGSQL and MYSQL options due nothing (in this case) +# without QUOTA support. .if defined(WITH_QUOTA) MODULES:=${MODULES}:mod_quotatab:mod_quotatab_file -QUOTA_SUB= QUOTA="" -.else -QUOTA_SUB= QUOTA="@comment " +PLIST_SUB+= QUOTA="" .if defined(WITH_LDAP) MODULES:=${MODULES}:mod_quotatab_ldap .endif .if defined(WITH_PGSQL) || defined(WITH_MYSQL) -MODULES:=${MODULES}:mod_quotatab_sql:mod_quotatab -QUOTA_SUB= QUOTA="" +MODULES:=${MODULES}:mod_quotatab_sql .endif +.else +PLIST_SUB+= QUOTA="@comment " .endif -PLIST_SUB+= ${QUOTA_SUB} - .if defined(WITH_CLAMAV) DISTFILES+= mod_clamav-0.11rc.tar.gz:clam EXTRACT_ONLY+= mod_clamav-0.11rc.tar.gz |