summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-08 19:00:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-08 19:00:41 +0100
commit6f722173be786a0594e6084737942b7e05cd71e4 (patch)
treef9d549379be3c6a32123e7c394266be8d54f351f /package
parentd250a5aa67121b63d4315238c988c3a5111b7a22 (diff)
cross-compile under MacOS X
Diffstat (limited to 'package')
-rw-r--r--package/ruby/Makefile6
-rw-r--r--package/ruby/patches/patch-Makefile_in8
2 files changed, 3 insertions, 11 deletions
diff --git a/package/ruby/Makefile b/package/ruby/Makefile
index 755c20ebc..25fe3d7db 100644
--- a/package/ruby/Makefile
+++ b/package/ruby/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= ruby
PKG_VERSION:= 1.9.2
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 755aba44607c580fddc25e7c89260460
PKG_DESCR:= interpreter for the ruby language
PKG_SECTION:= lang
@@ -13,7 +13,7 @@ PKG_URL:= http://www.ruby-lang.org/
PKG_SITES:= ftp://ftp.ruby-lang.org/pub/ruby/
PKG_NOPARALLEL:= 1
-PKG_HOST_DEPENDS:= !freebsd !cygwin !darwin
+PKG_HOST_DEPENDS:= !freebsd !cygwin
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-p0.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}-1.9.2-p0
@@ -36,7 +36,7 @@ pre-configure:
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
./configure --prefix=$(STAGING_TOOLS) --disable-install-doc \
);
- $(MAKE) -C ${WRKBUILD} ruby
+ $(MAKE) -C ${WRKBUILD} main
cp ${WRKBUILD}/ruby ${WRKBUILD}/hostruby
cp ${WRKBUILD}/ext/Setup.orig ${WRKBUILD}/ext/Setup
$(MAKE) -C ${WRKBUILD} install-nodoc
diff --git a/package/ruby/patches/patch-Makefile_in b/package/ruby/patches/patch-Makefile_in
deleted file mode 100644
index 6c71409cd..000000000
--- a/package/ruby/patches/patch-Makefile_in
+++ /dev/null
@@ -1,8 +0,0 @@
---- ruby-1.9.2-p0.orig/Makefile.in 2010-07-11 08:15:13.000000000 +0200
-+++ ruby-1.9.2-p0/Makefile.in 2010-11-08 16:53:07.774995217 +0100
-@@ -315,4 +315,4 @@ INSNS = opt_sc.inc optinsn.inc optunifs.
- $(INSNS): $(srcdir)/insns.def vm_opts.h \
- $(srcdir)/defs/opt_operand.def $(srcdir)/defs/opt_insn_unif.def \
- $(srcdir)/tool/instruction.rb $(srcdir)/tool/insns2vm.rb
-- $(BASERUBY) -Ks $(srcdir)/tool/insns2vm.rb $(INSNS2VMOPT) $@
-+ $(BASERUBY) $(srcdir)/tool/insns2vm.rb $(INSNS2VMOPT) $@