]> git.pld-linux.org Git - packages/ruby.git/commitdiff
- disable pthreads on ppc ( now it builds but may segv with tcl/tk ). auto/th/ruby-1_8_5-2
authorPaweł Sikora <pluto@pld-linux.org>
Tue, 3 Oct 2006 20:58:33 +0000 (20:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ruby.spec -> 1.138

ruby.spec

index 4978c95564028d29945730ebb938811e24daa5f3..12de97e758a364ee9892610a59631d255e2ad59c 100644 (file)
--- a/ruby.spec
+++ b/ruby.spec
@@ -2,9 +2,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
@@ -69,7 +66,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %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
@@ -231,8 +228,11 @@ cd ..
 %{__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
This page took 0.122909 seconds and 4 git commands to generate.