]> git.pld-linux.org Git - packages/rrdtool.git/commitdiff
add rrdcgi bcond, depends on rrd_graph
authorElan Ruusamäe <glen@delfi.ee>
Mon, 8 Jun 2015 08:57:07 +0000 (11:57 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 8 Jun 2015 08:57:07 +0000 (11:57 +0300)
rrdtool.spec

index 2a5fb7d781bbb2379fd8c9ab4d0d26f177c3bb69..15c32f3fad45ccf01a4e91e4958e3f3cc1d105cd 100644 (file)
@@ -9,6 +9,11 @@
 %bcond_without ruby    # Ruby binding
 %bcond_without tcl     # Tcl binding
 %bcond_without rrd_graph       # disable all rrd_graph functions
+%bcond_without rrdcgi  # disable building of rrdcgi
+
+%if %{without rrd_graph}
+%undefine      with_rrdcgi
+%endif
 
 %define        pdir    RRDp
 %include       /usr/lib/rpm/macros.perl
@@ -273,6 +278,7 @@ sed -i -e 's#/lib/lua/#/%{_lib}/lua/#g' configure.ac
        LUA=/usr/bin/lua5.1 \
        --disable-silent-rules \
        %{!?with_rrd_graph:--disable-rrd_graph} \
+       %{!?with_rrdcgi:--disable-rrdcgi} \
        %{!?with_lua:--disable-lua} \
        %{!?with_python:--disable-python} \
        %{!?with_ruby:--disable-ruby} \
This page took 0.032338 seconds and 4 git commands to generate.