Karsten Hopp 57e24b
To: vim-dev@vim.org
Karsten Hopp 57e24b
Subject: Patch 7.2.388 (extra)
Karsten Hopp 57e24b
Fcc: outbox
Karsten Hopp 57e24b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 57e24b
Mime-Version: 1.0
Karsten Hopp 57e24b
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 57e24b
Content-Transfer-Encoding: 8bit
Karsten Hopp 57e24b
------------
Karsten Hopp 57e24b
Karsten Hopp 57e24b
Patch 7.2.388 (extra part of 7.2.387)
Karsten Hopp 57e24b
Problem:    Ruby with MingW still doesn't build all versions.
Karsten Hopp 57e24b
Solution:   Different approach to build file. (Sergey Khorev)
Karsten Hopp 57e24b
Files:	    src/Make_ming.mak
Karsten Hopp 57e24b
Karsten Hopp 57e24b
Karsten Hopp 57e24b
*** ../vim-7.2.387/src/Make_ming.mak	2010-02-26 22:05:17.000000000 +0100
Karsten Hopp 57e24b
--- src/Make_ming.mak	2010-03-10 12:34:25.000000000 +0100
Karsten Hopp 57e24b
***************
Karsten Hopp 57e24b
*** 212,234 ****
Karsten Hopp 57e24b
  RUBY_VER_LONG = 1.6
Karsten Hopp 57e24b
  endif
Karsten Hopp 57e24b
  
Karsten Hopp 57e24b
- ifeq ($(RUBY_VER), 16)
Karsten Hopp 57e24b
  ifndef RUBY_PLATFORM
Karsten Hopp 57e24b
  RUBY_PLATFORM = i586-mswin32
Karsten Hopp 57e24b
! endif
Karsten Hopp 57e24b
! ifndef RUBY_INSTALL_NAME
Karsten Hopp 57e24b
! RUBY_INSTALL_NAME = mswin32-ruby$(RUBY_VER)
Karsten Hopp 57e24b
! endif
Karsten Hopp 57e24b
  else
Karsten Hopp 57e24b
- ifndef RUBY_PLATFORM
Karsten Hopp 57e24b
  RUBY_PLATFORM = i386-mswin32
Karsten Hopp 57e24b
  endif
Karsten Hopp 57e24b
  ifndef RUBY_INSTALL_NAME
Karsten Hopp 57e24b
  RUBY_INSTALL_NAME = msvcrt-ruby$(RUBY_VER)
Karsten Hopp 57e24b
  endif
Karsten Hopp 57e24b
  endif
Karsten Hopp 57e24b
  
Karsten Hopp 57e24b
! RUBYINC =-I $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
Karsten Hopp 57e24b
  ifeq (no, $(DYNAMIC_RUBY))
Karsten Hopp 57e24b
  RUBYLIB = -L$(RUBY)/lib -l$(RUBY_INSTALL_NAME)
Karsten Hopp 57e24b
  endif
Karsten Hopp 57e24b
--- 212,236 ----
Karsten Hopp 57e24b
  RUBY_VER_LONG = 1.6
Karsten Hopp 57e24b
  endif
Karsten Hopp 57e24b
  
Karsten Hopp 57e24b
  ifndef RUBY_PLATFORM
Karsten Hopp 57e24b
+ ifeq ($(RUBY_VER), 16)
Karsten Hopp 57e24b
  RUBY_PLATFORM = i586-mswin32
Karsten Hopp 57e24b
! else ifneq ("X$(wildcard, $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/i386-mingw32)", X)
Karsten Hopp 57e24b
! RUBY_PLATFORM = i386-mingw32
Karsten Hopp 57e24b
  else
Karsten Hopp 57e24b
  RUBY_PLATFORM = i386-mswin32
Karsten Hopp 57e24b
  endif
Karsten Hopp 57e24b
+ endif
Karsten Hopp 57e24b
+ 
Karsten Hopp 57e24b
  ifndef RUBY_INSTALL_NAME
Karsten Hopp 57e24b
+ ifeq ($(RUBY_VER), 16)
Karsten Hopp 57e24b
+ RUBY_INSTALL_NAME = mswin32-ruby$(RUBY_VER)
Karsten Hopp 57e24b
+ else
Karsten Hopp 57e24b
  RUBY_INSTALL_NAME = msvcrt-ruby$(RUBY_VER)
Karsten Hopp 57e24b
  endif
Karsten Hopp 57e24b
  endif
Karsten Hopp 57e24b
  
Karsten Hopp 57e24b
! RUBYINC =-I $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/$(RUBY_PLATFORM) -I $(RUBY)/include/ruby-$(RUBY_VER_LONG) -I $(RUBY)/include/ruby-$(RUBY_VER_LONG)/$(RUBY_PLATFORM)
Karsten Hopp 57e24b
  ifeq (no, $(DYNAMIC_RUBY))
Karsten Hopp 57e24b
  RUBYLIB = -L$(RUBY)/lib -l$(RUBY_INSTALL_NAME)
Karsten Hopp 57e24b
  endif
Karsten Hopp 57e24b
*** ../vim-7.2.387/src/version.c	2010-03-10 12:46:38.000000000 +0100
Karsten Hopp 57e24b
--- src/version.c	2010-03-10 13:18:38.000000000 +0100
Karsten Hopp 57e24b
***************
Karsten Hopp 57e24b
*** 683,684 ****
Karsten Hopp 57e24b
--- 683,686 ----
Karsten Hopp 57e24b
  {   /* Add new patch number below this line */
Karsten Hopp 57e24b
+ /**/
Karsten Hopp 57e24b
+     388,
Karsten Hopp 57e24b
  /**/
Karsten Hopp 57e24b
Karsten Hopp 57e24b
-- 
Karsten Hopp 57e24b
Q: Is selling software the same as selling hardware?
Karsten Hopp 57e24b
A: No, good hardware is sold new, good software has already been used by many.
Karsten Hopp 57e24b
Karsten Hopp 57e24b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 57e24b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 57e24b
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 57e24b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///