diff options
author | avilla <avilla@FreeBSD.org> | 2012-06-15 23:23:48 +0800 |
---|---|---|
committer | avilla <avilla@FreeBSD.org> | 2012-06-15 23:23:48 +0800 |
commit | 7c17ae4eadc6f2a0f786a60aa30ba06a5756b920 (patch) | |
tree | 2cd0e6c40b3fea151f493ab828a6b0add21e671d /databases | |
parent | add30685efb452daeb90fcfd5a5473504c9b5cf0 (diff) | |
download | freebsd-ports-gnome-7c17ae4eadc6f2a0f786a60aa30ba06a5756b920.tar.gz freebsd-ports-gnome-7c17ae4eadc6f2a0f786a60aa30ba06a5756b920.tar.zst freebsd-ports-gnome-7c17ae4eadc6f2a0f786a60aa30ba06a5756b920.zip |
- Set 'wait_timeout' to a safer value.
- Bump PORTREVISION.
Discussed with: ale via email
Diffstat (limited to 'databases')
-rw-r--r-- | databases/akonadi/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/akonadi/Makefile b/databases/akonadi/Makefile index 17dc9176eca4..449c6ca27535 100644 --- a/databases/akonadi/Makefile +++ b/databases/akonadi/Makefile @@ -6,7 +6,7 @@ PORTNAME= akonadi PORTVERSION= 1.7.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases kde ipv6 MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTNAME}/src/ @@ -77,9 +77,10 @@ post-patch: ${PATCH_WRKSRC}/server/CMakeLists.txt ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${PATCH_WRKSRC}/server/src/storage/dbconfigmysql.cpp - # MySQL seems to have this limit on FreeBSD (same of Windows - # but undocumented and unstable). - ${REINPLACE_CMD} -e '/wait_timeout/ s|31536000|2147483|' \ + # To avoid overflow, MySQL settings need to be lower than + # INT_MAX / kern.hz. This setting assumes kern.hz=2000, and + # it's nothing but a temporary hack. + ${REINPLACE_CMD} -e '/wait_timeout/ s|31536000|1073741|' \ ${PATCH_WRKSRC}/server/src/storage/*.conf # Prevent updating MIME during build. ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \ |