summaryrefslogtreecommitdiff
path: root/package/ruby/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-11-10 19:03:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-11-10 19:03:11 +0100
commit713dc7012af249b7102faabb27e0fe88ea39be57 (patch)
tree2626b2aa8f2ebb6e6c314ccdba45d7668ed122fd /package/ruby/Makefile
parentda5c3b1c8535d8f8455b5283ddaf5c38b45d477e (diff)
fix make bulk on OpenADK buildserver
Diffstat (limited to 'package/ruby/Makefile')
-rw-r--r--package/ruby/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/package/ruby/Makefile b/package/ruby/Makefile
index 4afec030e..03494272b 100644
--- a/package/ruby/Makefile
+++ b/package/ruby/Makefile
@@ -4,14 +4,14 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= ruby
-PKG_VERSION:= 1.9.2
-PKG_EXTRAVER:= 180
+PKG_VERSION:= 1.9.3
+PKG_EXTRAVER:= 0
PKG_RELEASE:= 1
-PKG_MD5SUM:= 0d6953820c9918820dd916e79f4bfde8
+PKG_MD5SUM:= 8e2fef56185cfbaf29d0c8329fc77c05
PKG_DESCR:= interpreter for the ruby language
PKG_SECTION:= lang
PKG_URL:= http://www.ruby-lang.org/
-PKG_SITES:= ftp://ftp.ruby-lang.org/pub/ruby/
+PKG_SITES:= http://ftp.ruby-lang.org/pub/ruby/1.9/
PKG_NOPARALLEL:= 1
PKG_HOST_DEPENDS:= !freebsd !cygwin
@@ -25,9 +25,9 @@ $(eval $(call PKG_template,RUBY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_
MAKE_FILE:= GNUmakefile
XAKE_FLAGS+= optflags='' debugflags='' BASERUBY="${WRKBUILD}/hostruby" \
- dldflags="$(TARGET_LDFLAGS)"
+ dldflags="$(TARGET_LDFLAGS)"
# uClibc setpgrp does not take arguments
-CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
+CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
CONFIGURE_ARGS+= --disable-install-doc
ALL_TARGET:= main
INSTALL_TARGET:= install-nodoc
@@ -36,9 +36,9 @@ pre-configure:
cp ${WRKBUILD}/ext/Setup ${WRKBUILD}/ext/Setup.orig
echo "option nodynamic" >> ${WRKBUILD}/ext/Setup
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
- ./configure --prefix=$(STAGING_HOST_DIR) --disable-install-doc \
+ LDSHARED="${CC} -shared" DLDFLAGS="-fPIC" CFLAGS="-fPIC" ./configure --prefix=$(STAGING_HOST_DIR) --disable-install-doc \
);
- $(MAKE) -C ${WRKBUILD} main
+ $(MAKE) -C ${WRKBUILD} main Q=""
cp ${WRKBUILD}/ruby ${WRKBUILD}/hostruby
cp ${WRKBUILD}/ext/Setup.orig ${WRKBUILD}/ext/Setup
$(MAKE) -C ${WRKBUILD} install-nodoc