diff options
author | knu <knu@FreeBSD.org> | 2003-08-10 06:10:21 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-08-10 06:10:21 +0800 |
commit | 15064759efd102ed9613971211164a7530623afa (patch) | |
tree | 663f550c754b94e0f13d3d1590154acdb1d9bbc1 /databases/ruby-mysql | |
parent | c79213ca01c56d4d470c97aa6ca12907e2cfff47 (diff) | |
download | freebsd-ports-gnome-15064759efd102ed9613971211164a7530623afa.tar.gz freebsd-ports-gnome-15064759efd102ed9613971211164a7530623afa.tar.zst freebsd-ports-gnome-15064759efd102ed9613971211164a7530623afa.zip |
Update to 2.4.5. Depend on MySQL 4.0 by default.
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 |