move local build lib to the front of the line so we don't pick up a

currently installed gems when upgrading

noticed by and ok espie@
This commit is contained in:
jcs 2007-06-04 15:22:03 +00:00
parent b257e4d40f
commit 571399098f
2 changed files with 14 additions and 5 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.6 2007/05/30 23:34:36 jcs Exp $
# $OpenBSD: Makefile,v 1.7 2007/06/04 15:22:03 jcs Exp $
COMMENT= "package management framework for the Ruby language"
V= 0.9.4
DISTNAME= rubygems-$V
PKGNAME= ruby-gems-$V
PKGNAME= ruby-gems-$Vp0
CATEGORIES= devel
HOMEPAGE= http://docs.rubygems.org/

View File

@ -1,6 +1,15 @@
$OpenBSD: patch-post-install_rb,v 1.2 2007/05/30 23:34:36 jcs Exp $
--- post-install.rb.orig Sat May 26 10:46:51 2007
+++ post-install.rb Sat May 26 10:46:53 2007
$OpenBSD: patch-post-install_rb,v 1.3 2007/06/04 15:22:03 jcs Exp $
--- post-install.rb.orig Thu May 10 14:01:45 2007
+++ post-install.rb Mon Jun 4 09:36:34 2007
@@ -77,7 +77,7 @@ def install_windows_batch_files
end
def install_sources
- $: << "lib"
+ $:.unshift "lib"
require 'rubygems'
require 'rubygems/builder'
require 'rubygems/installer'
@@ -117,5 +117,4 @@ install_sources
remove_old_rdoc
install_rdoc