diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-09 22:10:21 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-09 22:10:21 +0000 |
commit | edadc4b688ba78c0f32cdc11e0c6f8d89910e1d8 (patch) | |
tree | 30754ce9b51ecfc61a46fded1b6be72487cf9497 /databases/ruby-mysql | |
parent | fa7bcf7ff575aa9e2a2dc7fdc607ff7c4e01514c (diff) | |
download | ports-edadc4b688ba78c0f32cdc11e0c6f8d89910e1d8.tar.gz ports-edadc4b688ba78c0f32cdc11e0c6f8d89910e1d8.zip |
Update to 2.4.5. Depend on MySQL 4.0 by default.
Notes
Notes:
svn path=/head/; revision=86685
Diffstat (limited to 'databases/ruby-mysql')
-rw-r--r-- | databases/ruby-mysql/Makefile | 11 | ||||
-rw-r--r-- | databases/ruby-mysql/distinfo | 2 | ||||
-rw-r--r-- | databases/ruby-mysql/files/patch-extconf.rb | 22 |
3 files changed, 10 insertions, 25 deletions
diff --git a/databases/ruby-mysql/Makefile b/databases/ruby-mysql/Makefile index 6af59104bf7a..296294fd49b4 100644 --- a/databases/ruby-mysql/Makefile +++ b/databases/ruby-mysql/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mysql -PORTVERSION= 2.4.4 +PORTVERSION= 2.4.5 CATEGORIES= databases ruby MASTER_SITES= http://www.tmtm.org/mysql/ruby/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -16,8 +16,15 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= Ruby module for accessing MySQL databases with a C API like interface -# Supports MySQL 4.0 too +.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10) LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +.else +.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14) +LIB_DEPENDS= mysqlclient.14:${PORTSDIR}/databases/mysql41-client +.else +LIB_DEPENDS= mysqlclient.12:${PORTSDIR}/databases/mysql40-client +.endif +.endif USE_RUBY= yes USE_RUBY_EXTCONF= yes diff --git a/databases/ruby-mysql/distinfo b/databases/ruby-mysql/distinfo index 42ee5d55a65b..c62521b11183 100644 --- a/databases/ruby-mysql/distinfo +++ b/databases/ruby-mysql/distinfo @@ -1 +1 @@ -MD5 (ruby/mysql-ruby-2.4.4.tar.gz) = 51e99fc005d1f9b94fd1881bd307383a +MD5 (ruby/mysql-ruby-2.4.5.tar.gz) = 345292e3f09f60f446fc36e5e841548f diff --git a/databases/ruby-mysql/files/patch-extconf.rb b/databases/ruby-mysql/files/patch-extconf.rb deleted file mode 100644 index 529f22b65b2a..000000000000 --- a/databases/ruby-mysql/files/patch-extconf.rb +++ /dev/null @@ -1,22 +0,0 @@ ---- 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 |