summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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