SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "http://ftp.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
- file://extmk_run.patch \
file://extmk.patch \
"
+++ /dev/null
-============================================================
---- packages/ruby/ruby-1.8.5/extmk_run.patch d9738b5a71e2f9a98d009af9fd0ef1ceaff9ef48
-+++ packages/ruby/ruby-1.8.5/extmk_run.patch d9738b5a71e2f9a98d009af9fd0ef1ceaff9ef48
-@@ -0,0 +1,11 @@
-+--- ruby-1.8.5/common.mk.orig 2006-12-30 13:07:32.000000000 +1100
-++++ ruby-1.8.5/common.mk 2006-12-30 13:08:32.000000000 +1100
-+@@ -56,7 +56,7 @@
-+ --make="$(MAKE)" \
-+ --mflags="$(MFLAGS)" \
-+ --make-flags="$(MAKEFLAGS)"
-+-EXTMK_ARGS = $(SCRIPT_ARGS) --extout="$(EXTOUT)" --extension $(EXTS) --extstatic $(EXTSTATIC) --
-++EXTMK_ARGS = $(SCRIPT_ARGS) --with-ldflags="%%TARGET_LDFLAGS%%" --with-cflags="%%TARGET_CFLAGS%%" --extout="$(EXTOUT)" --extension $(EXTS) --extstatic $(EXTSTATIC) --
-+
-+ all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY)
-+ @$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS)