[packages/ppl] - pass java_home to configure (hardcoded /usr/lib fails build on x86_64)

baggins baggins at pld-linux.org
Fri Dec 7 12:43:05 CET 2012


commit ef727740a6e469d3fb1dd06c69a58c7a030b3d3e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Dec 7 12:42:24 2012 +0100

    - pass java_home to configure (hardcoded /usr/lib fails build on x86_64)

 ppl.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/ppl.spec b/ppl.spec
index 3186c59..b4c5ec0 100644
--- a/ppl.spec
+++ b/ppl.spec
@@ -397,6 +397,7 @@ CPPFLAGS="$CPPFLAGS -I%{_includedir}/Yap"
 
 %configure \
 	--docdir=%{_docdir}/%{name}-%{version} \
+	%{?with_java:--with-java=%{java_home}} \
 	--enable-interfaces="c++ c %{?with_ocaml:ocaml} %{?with_java:java} %{?with_ciao:ciao_prolog} %{?with_gprolog:gnu_prolog} %{?with_swipl:swi_prolog} %{?with_xsb:xsb_prolog} %{?with_yap:yap_prolog}"
 
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ppl.git/commitdiff/ef727740a6e469d3fb1dd06c69a58c7a030b3d3e



More information about the pld-cvs-commit mailing list