summaryrefslogtreecommitdiff
path: root/www/curl
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2008-03-03 18:48:21 +0000
committerdrochner <drochner@pkgsrc.org>2008-03-03 18:48:21 +0000
commit9bd3464e7e916d97f1e733a71b79c48999897987 (patch)
treee044f6bbb51d87df28df89890fa67594569073b6 /www/curl
parent80c7fb273d8e710ea174cde389ccea199e8a754b (diff)
downloadpkgsrc-9bd3464e7e916d97f1e733a71b79c48999897987.tar.gz
add an option to enable gssapi, for GSS-Negotiate, from Todd Kover
per PR pkg/36144 (just compile-tested because I don't have a Kerberos installation)
Diffstat (limited to 'www/curl')
-rw-r--r--www/curl/options.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/www/curl/options.mk b/www/curl/options.mk
index 7403135232f..3f23f3c7152 100644
--- a/www/curl/options.mk
+++ b/www/curl/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.2 2008/03/02 14:40:26 bjs Exp $
+# $NetBSD: options.mk,v 1.3 2008/03/03 18:48:21 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.curl
-PKG_SUPPORTED_OPTIONS= inet6 libssh2
+PKG_SUPPORTED_OPTIONS= inet6 libssh2 gssapi
.include "../../mk/bsd.options.mk"
@@ -17,3 +17,11 @@ CONFIGURE_ARGS+= --with-libssh2=${BUILDLINK_PREFIX.libssh2:Q}
.else
CONFIGURE_ARGS+= --without-libssh2
.endif
+
+.if !empty(PKG_OPTIONS:Mgssapi)
+.include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --with-gssapi=${KRB5BASE}
+CONFIGURE_ARGS+= --with-gssapi-includes=${KRB5BASE}/include/gssapi
+.else
+CONFIGURE_ARGS+= --without-gssapi
+.endif