]> git.pld-linux.org Git - packages/ruby.git/commitdiff
- more AMD64 fixes:
authorJacek Konieczny <jajcus@pld-linux.org>
Tue, 6 Jan 2004 16:42:17 +0000 (16:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- -tcltklib-lib64.patch not needed any more
- ruby should actually work (find its library files) on AMD64

Changed files:
    ruby.spec -> 1.57

ruby.spec

index 4a5759ebe97c673c665f53b619c289bb2a63504f..c5dbf2d0eba253a8cbbecb6ecca577e6a3d5bd8a 100644 (file)
--- a/ruby.spec
+++ b/ruby.spec
@@ -20,7 +20,7 @@ Source4:      irb.1
 Source5:       ftp://ftp.ruby-lang.org/pub/ruby/contrib/onigd20031224.tar.gz
 # Source5-md5: 8e0dd61b25ce83be9bca657fbda5a172
 Patch0:                %{name}-info.patch
-Patch1:                %{name}-tcltklib-lib64.patch
+Patch1:                %{name}-LIB_PREFIX.patch
 URL:           http://www.ruby-lang.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -91,9 +91,7 @@ Biblioteki programistyczne interpretera j
 %prep
 %setup -q -a1 -a2 -a3 -a5
 %patch0 -p1
-%if "%{_lib}" == "lib64"
 %patch1 -p1
-%endif
 
 find . -name '*.rb' -or -name '*.cgi' -or -name '*.test' | xargs perl -pi -e "s#/usr/local/bin#bin#"
 
@@ -106,7 +104,8 @@ cd ..
 
 #%{__autoconf}
 %configure \
-       --enable-shared
+       --enable-shared \
+       --with-X11-lib=/usr/X11R6/%{_lib}
 %{__make}
 
 %{__make} info -C %{name}-texi-1.4-en
This page took 0.089848 seconds and 4 git commands to generate.