Update to 2.4.4 and add a patch to make it build with ruby 1.8.
This commit is contained in:
parent
9e0be2a43f
commit
2f692e4645
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74201
@ -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}
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ruby/mysql-ruby-2.4.3b.tar.gz) = 61f7b1d9bd4ff840769d545392fe0d0a
|
||||
MD5 (ruby/mysql-ruby-2.4.4.tar.gz) = 51e99fc005d1f9b94fd1881bd307383a
|
||||
|
22
databases/ruby-mysql/files/patch-extconf.rb
Normal file
22
databases/ruby-mysql/files/patch-extconf.rb
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user