[packages/graphviz] - fix building on x32

baggins baggins at pld-linux.org
Sat Jan 3 22:10:41 CET 2015


commit bdcec6f2f6f2dd083785b6e1d562557149c724f7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Jan 3 21:10:31 2015 +0000

    - fix building on x32

 graphviz.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/graphviz.spec b/graphviz.spec
index c1bd344..9babb03 100644
--- a/graphviz.spec
+++ b/graphviz.spec
@@ -31,7 +31,7 @@
 %ifarch i386
 %undefine with_dotnet
 %endif
-%ifnarch %{ix86} %{x8664}
+%ifnarch %{ix86} %{x8664} x32
 %undefine with_java
 %endif
 %ifarch i386 i486
@@ -485,6 +485,12 @@ CPPFLAGS="$CPPFLAGS -I$(pkg-config ruby-%{ruby_abi} --cflags)"
 export CPPFLAGS
 
 %configure \
+%ifarch %{x8664}
+	LIBPOSTFIX="64" \
+%endif
+%ifarch x32
+	LIBPOSTFIX="x32" \
+%endif
 	LUA=/usr/bin/lua5.1 \
 	lua_suffix=51 \
 	%{!?with_devil:--disable-devil} \
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list