diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-29 10:08:06 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-29 10:08:06 +0000 |
commit | 2f692e4645a28be8e471a9541b626fa0f3d49fc3 (patch) | |
tree | eac7d01f8015ce125cdadd964af19b15213f70d0 /databases | |
parent | Update lang/ruby-devel to the latest snapshot as of 2003.01.28. (diff) |
Update to 2.4.4 and add a patch to make it build with ruby 1.8.
Notes
Notes:
svn path=/head/; revision=74201
Diffstat (limited to 'databases')
-rw-r--r-- | databases/ruby-mysql/Makefile | 2 | ||||
-rw-r--r-- | databases/ruby-mysql/distinfo | 2 | ||||
-rw-r--r-- | databases/ruby-mysql/files/patch-extconf.rb | 22 |
3 files changed, 24 insertions, 2 deletions
diff --git a/databases/ruby-mysql/Makefile b/databases/ruby-mysql/Makefile index 892be840f58c..5b9267501b36 100644 --- a/databases/ruby-mysql/Makefile +++ b/databases/ruby-mysql/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mysql -PORTVERSION= 2.4.3b +PORTVERSION= 2.4.4 CATEGORIES= databases ruby MASTER_SITES= http://www.tmtm.org/mysql/ruby/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} diff --git a/databases/ruby-mysql/distinfo b/databases/ruby-mysql/distinfo index 18ce093d215c..42ee5d55a65b 100644 --- a/databases/ruby-mysql/distinfo +++ b/databases/ruby-mysql/distinfo @@ -1 +1 @@ -MD5 (ruby/mysql-ruby-2.4.3b.tar.gz) = 61f7b1d9bd4ff840769d545392fe0d0a +MD5 (ruby/mysql-ruby-2.4.4.tar.gz) = 51e99fc005d1f9b94fd1881bd307383a diff --git a/databases/ruby-mysql/files/patch-extconf.rb b/databases/ruby-mysql/files/patch-extconf.rb new file mode 100644 index 000000000000..529f22b65b2a --- /dev/null +++ b/databases/ruby-mysql/files/patch-extconf.rb @@ -0,0 +1,22 @@ +--- extconf.rb.orig Wed Jan 29 08:59:59 2003 ++++ extconf.rb Wed Jan 29 19:02:41 2003 +@@ -24,13 +24,18 @@ + else + exit 1 + end ++$objs = ["mysql.o"] + create_makefile("mysql") + + # make mysql constant + File::open("conftest.c", "w") do |f| + f.puts src + end +-cpp = Config::expand sprintf(CPP, $CPPFLAGS, $CFLAGS, '') ++if defined? cpp_command ++ cpp = Config.expand(cpp_command(CONFIG['CPPOUTFILE'])) ++else ++ cpp = Config::expand sprintf(CPP, $CPPFLAGS, $CFLAGS, '') ++end + unless system "#{cpp} > confout" then + exit 1 + end |