diff options
author | martti <martti> | 2005-11-25 13:37:30 +0000 |
---|---|---|
committer | martti <martti> | 2005-11-25 13:37:30 +0000 |
commit | bf87edd25d90b3692d27c0c661164e4c5b1ce92b (patch) | |
tree | f44334c33cd0df660f80aaa52b1ed9a14661bcaf /net | |
parent | 94ba128b8887476a70382e093244c2ae8e74d137 (diff) | |
download | pkgsrc-bf87edd25d90b3692d27c0c661164e4c5b1ce92b.tar.gz |
Activate the options. Patch from Geert Hendrickx.
Diffstat (limited to 'net')
-rw-r--r-- | net/proftpd/options.mk | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/net/proftpd/options.mk b/net/proftpd/options.mk index fab1419a059..4b2cea4e443 100644 --- a/net/proftpd/options.mk +++ b/net/proftpd/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.1 2005/06/22 22:43:37 salo Exp $ +# $NetBSD: options.mk,v 1.2 2005/11/25 13:37:30 martti Exp $ # -PKG_OPTIONS_VAR = PKG_OPTIONS.proftpd -PKG_SUPPORTED_OPTIONS = pam wrap quota +PKG_OPTIONS_VAR= PKG_OPTIONS.proftpd +PKG_SUPPORTED_OPTIONS= pam wrap quota ldap mysql pgsql readme .include "../../mk/bsd.options.mk" @@ -11,35 +11,35 @@ CONFIGURE_ARGS+= --enable-auth-pam .include "../../mk/pam.buildlink3.mk" .endif -MODULES=#defined +MODULES= # empty .if !empty(PKG_OPTIONS:Mwrap) -MODULES:=${MODULES}mod_wrap +MODULES:= ${MODULES}:mod_wrap .endif .if !empty(PKG_OPTIONS:Mquota) -MODULES:=${MODULES}mod_quota -.endif - -## .if defined(PROFTPD_USE_LDAP) && ${PROFTPD_USE_LDAP} == "YES" -## MODULES:= ${MODULES}:mod_ldap -## DEPENDS+= openldap-[0-9]*:../../databases/openldap -## .endif -## -## .if defined(PROFTPD_USE_MYSQL) && ${PROFTPD_USE_MYSQL} == "YES" -## MODULES:= ${MODULES}:mod_sql:mod_sql_mysql -## DEPENDS+= mysql-client-[0-9]*:../../databases/mysql-client -## .endif -## -## .if defined(PROFTPD_USE_POSTGRES) && ${PROFTPD_USE_POSTGRES} == "YES" -## MODULES:= ${MODULES}:mod_sql:mod_sql_postgres -## DEPENDS+= postgresql-client-[0-9]*:../../databases/postgresql-client -## .endif -## -## .if defined(PROFTPD_USE_README) && ${PROFTPD_USE_README} == "YES" -## MODULES:= ${MODULES}:mod_readme -## .endif +MODULES:= ${MODULES}:mod_quota +.endif + +.if !empty(PKG_OPTIONS:Mldap) +MODULES:= ${MODULES}:mod_ldap +.include "../../databases/openldap/buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mmysql) +MODULES:= ${MODULES}:mod_sql:mod_sql_mysql +.include "../../mk/mysql.buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mpgsql) +MODULES:= ${MODULES}:mod_sql:mod_sql_pgsql +.include "../../mk/pgsql.buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mreadme) +MODULES:= ${MODULES}:mod_readme +.endif .if !empty(MODULES) -CONFIGURE_ARGS+= --with-modules=${MODULES} +CONFIGURE_ARGS+= --with-modules=${MODULES:C/^://} .endif |