summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authordrochner <drochner>2010-07-21 18:48:27 +0000
committerdrochner <drochner>2010-07-21 18:48:27 +0000
commitb88a5540b5bdc9c4e1199f4126f0f7647070b7fe (patch)
tree10170ba2f2842ff5e59b886ae25f3b3e22df9c05 /www
parent22acd7ba52a6d98cf3dde9d08865271e86656674 (diff)
downloadpkgsrc-b88a5540b5bdc9c4e1199f4126f0f7647070b7fe.tar.gz
add an "rtmp" option (default off)
Diffstat (limited to 'www')
-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