|
|
@@ -32,17 +32,18 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [BASE]
|
|
|
Group: Language
|
|
|
License: GPL
|
|
|
-Version: 1.6.7
|
|
|
-Release: 20020820
|
|
|
+Version: 1.6.8
|
|
|
+Release: 20021230
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{version}.tar.gz
|
|
|
+Patch0: ruby.patch
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206, gcc
|
|
|
-PreReq: OpenPKG, openpkg >= 20020206
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20020206, readline, ncurses, gcc
|
|
|
+PreReq: OpenPKG, openpkg >= 20020206, readline, ncurses
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -56,10 +57,11 @@ AutoReqProv: no
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
+ %patch -p0
|
|
|
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
- CFLAGS="%{l_cflags -O}" \
|
|
|
+ CFLAGS="%{l_cflags -O} %{l_cppflags}" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
--disable-shared
|