From ba15cdab53c9dc47ba1bcdaf37b037173d0fdcd2 Mon Sep 17 00:00:00 2001 From: ghen Date: Fri, 24 Feb 2006 09:15:38 +0000 Subject: * properly mark the legacy variables. * remove the -I flag for mysql option as this is handled by the bl3.mk file. --- net/pure-ftpd/options.mk | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'net') diff --git a/net/pure-ftpd/options.mk b/net/pure-ftpd/options.mk index 81eda6621b5..df97f6de279 100644 --- a/net/pure-ftpd/options.mk +++ b/net/pure-ftpd/options.mk @@ -1,7 +1,13 @@ -# $NetBSD: options.mk,v 1.3 2004/11/17 19:56:49 xtraeme Exp $ +# $NetBSD: options.mk,v 1.4 2006/02/24 09:15:38 ghen Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.pureftpd PKG_SUPPORTED_OPTIONS= ldap mysql pgsql ssl virtualchroot + +PKG_OPTIONS_LEGACY_VARS+= PURE_FTPD_USE_MYSQL:mysql +PKG_OPTIONS_LEGACY_VARS+= PURE_FTPD_USE_PGSQL:pgsql +PKG_OPTIONS_LEGACY_VARS+= PURE_FTPD_USE_TLS:ssl +PKG_OPTIONS_LEGACY_VARS+= PURE_FTPD_USE_VIRTUAL_CHROOT:virtualchroot + .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mldap) @@ -12,22 +18,18 @@ CONFIGURE_ARGS+= --with-ldap .if !empty(PKG_OPTIONS:Mmysql) . include "../../mk/mysql.buildlink3.mk" CONFIGURE_ARGS+= --with-mysql -CPPFLAGS+= -I${BUILDLINK_PREFIX.mysql-client}/include/mysql .endif .if !empty(PKG_OPTIONS:Mpgsql) . include "../../mk/pgsql.buildlink3.mk" CONFIGURE_ARGS+= --with-pgsql -BUILD_DEFS+= PURE_FTPD_USE_PGSQL .endif .if !empty(PKG_OPTIONS:Mssl) . include "../../security/openssl/buildlink3.mk" CONFIGURE_ARGS+= --with-tls -BUILD_DEFS+= PURE_FTPD_USE_TLS .endif .if !empty(PKG_OPTIONS:Mvirtualchroot) CONFIGURE_ARGS+= --with-virtualchroot -BUILD_DEFS+= PURE_FTPD_USE_VIRTUAL_CHROOT .endif -- cgit v1.2.3