diff options
author | wxs <wxs@FreeBSD.org> | 2009-10-17 02:09:23 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2009-10-17 02:09:23 +0800 |
commit | e9f9fa6bca1a5176c9f74fab0bf0c0a02f0d5a47 (patch) | |
tree | f026b0692b3f023926e6f8b6ad884c1a80d08c5c /ftp/proftpd | |
parent | db7201539637ad35b148d0144cb05ac282eb2b7a (diff) | |
download | freebsd-ports-gnome-e9f9fa6bca1a5176c9f74fab0bf0c0a02f0d5a47.tar.gz freebsd-ports-gnome-e9f9fa6bca1a5176c9f74fab0bf0c0a02f0d5a47.tar.zst freebsd-ports-gnome-e9f9fa6bca1a5176c9f74fab0bf0c0a02f0d5a47.zip |
- Rework QUOTA support to fix build breakage.
Noticed by: Peter Czanik <pczanik@fang.fa.au.hu>
Approved by: chris@officialunix.com (maintainer)
Diffstat (limited to 'ftp/proftpd')
-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 |