svn commit: r340703 - in head/databases/mysql-q4m: . files
Akinori MUSHA
knu at FreeBSD.org
Wed Jan 22 11:03:46 UTC 2014
Author: knu
Date: Wed Jan 22 11:03:44 2014
New Revision: 340703
URL: http://svnweb.freebsd.org/changeset/ports/340703
QAT: https://qat.redports.org/buildarchive/r340703/
Log:
Update to 0.9.10, adding support for MySQL 5.5+.
Added:
head/databases/mysql-q4m/files/
head/databases/mysql-q4m/files/patch-src::ha_queue.cc (contents, props changed)
head/databases/mysql-q4m/files/patch-src::queue_cond.cc (contents, props changed)
Modified:
head/databases/mysql-q4m/Makefile
head/databases/mysql-q4m/distinfo
Modified: head/databases/mysql-q4m/Makefile
==============================================================================
--- head/databases/mysql-q4m/Makefile Wed Jan 22 09:22:53 2014 (r340702)
+++ head/databases/mysql-q4m/Makefile Wed Jan 22 11:03:44 2014 (r340703)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= q4m
-PORTVERSION= 0.9.5
+PORTVERSION= 0.9.10
CATEGORIES= databases
MASTER_SITES= http://q4m.kazuhooku.com/dist/
PKGNAMEPREFIX= mysql${MYSQL_VER}-
@@ -13,13 +13,13 @@ COMMENT= A message queue that works as a
FETCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/databases/mysql${MYSQL_VER}-server:build
RUN_DEPENDS= ${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
+USE_PERL5= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_MYSQL= yes
-WANT_MYSQL_VER?= 51
GNU_CONFIGURE= yes
-CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
+CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -DDBUG_OFF
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql
CONFIGURE_ARGS= --prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/mysql/plugin" \
@@ -42,7 +42,7 @@ PORTDOCS= AUTHORS ChangeLog README doc
PORTEXAMPLES= crawler install.sql
post-patch:
- @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|/include/mysql|/include/mysql/mysql|g' ${WRKSRC}/configure
post-install:
${MKDIR} ${DOCSDIR}
@@ -59,6 +59,6 @@ install-functions:
mysql -u root -f mysql < ${EXAMPLESDIR}/install.sql
test:
- cd ${WRKSRC}; ${PERL} run_tests.pl
+ cd ${WRKSRC}; ./run_tests.pl
.include <bsd.port.mk>
Modified: head/databases/mysql-q4m/distinfo
==============================================================================
--- head/databases/mysql-q4m/distinfo Wed Jan 22 09:22:53 2014 (r340702)
+++ head/databases/mysql-q4m/distinfo Wed Jan 22 11:03:44 2014 (r340703)
@@ -1,2 +1,2 @@
-SHA256 (q4m-0.9.5.tar.gz) = 97bdf74a69dd663a9d908df9fdfab35001cbdfa396e478d7aa982bcbab9f1260
-SIZE (q4m-0.9.5.tar.gz) = 1631858
+SHA256 (q4m-0.9.10.tar.gz) = ddca34f5cf58be70039adaa3197c6a10303218b631c3c0bd3313c892e08199bb
+SIZE (q4m-0.9.10.tar.gz) = 1663838
Added: head/databases/mysql-q4m/files/patch-src::ha_queue.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/mysql-q4m/files/patch-src::ha_queue.cc Wed Jan 22 11:03:44 2014 (r340703)
@@ -0,0 +1,12 @@
+--- src/ha_queue.cc.orig 2013-05-21 18:33:11.000000000 +0900
++++ src/ha_queue.cc 2014-01-22 18:50:08.633290803 +0900
+@@ -64,9 +64,7 @@
+ #define Q4M_DELETE_MT_PWRITE 2
+ #define Q4M_DELETE_SERIAL_PWRITE 3
+
+-#if MYSQL_VERSION_ID < 50500
+ #include "queue_config.h"
+-#endif
+
+ #if SIZEOF_OFF_T != 8
+ # error "support for 64-bit file offsets is mandatory"
Added: head/databases/mysql-q4m/files/patch-src::queue_cond.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/mysql-q4m/files/patch-src::queue_cond.cc Wed Jan 22 11:03:44 2014 (r340703)
@@ -0,0 +1,10 @@
+--- src/queue_cond.cc.orig 2013-03-22 15:35:15.000000000 +0900
++++ src/queue_cond.cc 2014-01-22 18:55:04.861289350 +0900
+@@ -10,6 +10,7 @@
+ #include <string>
+ #include <iostream>
+ #endif
++#include "queue_config.h"
+ #include "queue_cond.h"
+
+ using namespace std;
More information about the svn-ports-all
mailing list