[packages/graphviz] fix build with ruby-2.1

glen glen at pld-linux.org
Sun Mar 20 15:17:41 CET 2016


commit 9c7978b667dae93687328e5a922d9302c3485131
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 20 16:17:29 2016 +0200

    fix build with ruby-2.1

 graphviz.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/graphviz.spec b/graphviz.spec
index 82e452a..58ff673 100644
--- a/graphviz.spec
+++ b/graphviz.spec
@@ -45,7 +45,7 @@ Summary:	Graph Visualization Tools
 Summary(pl.UTF-8):	Narzędzie do wizualizacji w postaci grafów
 Name:		graphviz
 Version:	2.38.0
-Release:	18
+Release:	19
 License:	CPL v1.0
 Group:		X11/Applications/Graphics
 Source0:	http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
@@ -485,7 +485,7 @@ CPPFLAGS="$CPPFLAGS -I$JAVA_HOME/include -I$JAVA_HOME/include/linux"
 %endif
 
 %if %{with ruby}
-CPPFLAGS="$CPPFLAGS -I$(pkg-config ruby-%{ruby_abi} --cflags)"
+CPPFLAGS="$CPPFLAGS $(pkg-config ruby-%{ruby_abi} --cflags)"
 %endif
 
 export CPPFLAGS
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/graphviz.git/commitdiff/9c7978b667dae93687328e5a922d9302c3485131



More information about the pld-cvs-commit mailing list