summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/curl/options.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/curl/options.mk b/www/curl/options.mk
index 68977303074..1890540cd33 100644
--- a/www/curl/options.mk
+++ b/www/curl/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.6 2008/08/01 06:36:26 dsainty Exp $
+# $NetBSD: options.mk,v 1.7 2010/07/21 18:48:27 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.curl
-PKG_SUPPORTED_OPTIONS= inet6 libssh2 gssapi ldap
+PKG_SUPPORTED_OPTIONS= inet6 libssh2 gssapi ldap rtmp
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == NetBSD
# Kerberos is built in - no additional dependency
@@ -38,3 +38,10 @@ CONFIGURE_ARGS+= --enable-ldaps
.else
CONFIGURE_ARGS+= --disable-ldap
.endif
+
+.if !empty(PKG_OPTIONS:Mrtmp)
+.include "../../net/rtmpdump/buildlink3.mk"
+CONFIGURE_ARGS+= --with-librtmp
+.else
+CONFIGURE_ARGS+= --without-librtmp
+.endif