SPECS: ruby.spec - disable pthreads on ppc ( now it builds but may...

pluto pluto at pld-linux.org
Tue Oct 3 22:58:39 CEST 2006


Author: pluto                        Date: Tue Oct  3 20:58:39 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- disable pthreads on ppc ( now it builds but may segv with tcl/tk ).

---- Files affected:
SPECS:
   ruby.spec (1.137 -> 1.138) 

---- Diffs:

================================================================
Index: SPECS/ruby.spec
diff -u SPECS/ruby.spec:1.137 SPECS/ruby.spec:1.138
--- SPECS/ruby.spec:1.137	Sun Oct  1 14:40:09 2006
+++ SPECS/ruby.spec	Tue Oct  3 22:58:33 2006
@@ -3,9 +3,6 @@
 # Conditional build:
 %bcond_without	emacs	# skip building package with ruby-mode for emacs
 #
-
-TH-BLOCKER:	build ICEs on powerpc.
-
 %define		ruby_ver	1.8
 %define		ruby_ridir	%{_datadir}/ri/%{ruby_ver}/system
 Summary:	Ruby - interpreted scripting language
@@ -70,7 +67,7 @@
 %define		specflags_ia64	-O0
 
 # ruby needs frame pointers for correct exception handling
-%define		specflags	-fno-omit-frame-pointer
+%define		specflags_ia32	-fno-omit-frame-pointer
 
 %description
 Ruby is the interpreted scripting language for quick and easy
@@ -232,8 +229,11 @@
 %{__autoconf}
 %configure \
 	--enable-shared \
-	--enable-pthread \
-	--with-X11-lib=/usr/X11R6/%{_lib}
+%ifnarch powerpc ppc ppc64
+	--enable-pthread
+%else
+	--disable-pthread
+%endif
 
 %{__make}
 %{__make} clean -C %{name}-texi-1.4-en
@@ -436,6 +436,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.138  2006/10/03 20:58:33  pluto
+- disable pthreads on ppc ( now it builds but may segv with tcl/tk ).
+
 Revision 1.137  2006/10/01 12:40:09  arekm
 - rel 2; add %%dir %%{_ulibdir}/%%{name}
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ruby.spec?r1=1.137&r2=1.138&f=u



More information about the pld-cvs-commit mailing list