summaryrefslogtreecommitdiff
path: root/net/pure-ftpd
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-02-24 09:15:38 +0000
committerghen <ghen@pkgsrc.org>2006-02-24 09:15:38 +0000
commitba15cdab53c9dc47ba1bcdaf37b037173d0fdcd2 (patch)
tree3e23a79deb183f532ddc054d21290332375f655d /net/pure-ftpd
parent47eacf726b4986d80e746f2b0bb2df1dba6a3b2c (diff)
downloadpkgsrc-ba15cdab53c9dc47ba1bcdaf37b037173d0fdcd2.tar.gz
* properly mark the legacy variables.
* remove the -I flag for mysql option as this is handled by the bl3.mk file.
Diffstat (limited to 'net/pure-ftpd')
-rw-r--r--net/pure-ftpd/options.mk12
1 files changed, 7 insertions, 5 deletions
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