summaryrefslogtreecommitdiff
path: root/www/curl
diff options
context:
space:
mode:
authordrochner <drochner>2008-03-03 18:48:21 +0000
committerdrochner <drochner>2008-03-03 18:48:21 +0000
commit9bb1fb4eb3cd00b14bf35efc1f775513b341c2e6 (patch)
treee044f6bbb51d87df28df89890fa67594569073b6 /www/curl
parent3d81effabfcbab5f1fe7b559a3b6f6d5f452285e (diff)
downloadpkgsrc-9bb1fb4eb3cd00b14bf35efc1f775513b341c2e6.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