diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2016-02-13 19:02:11 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2016-02-13 19:02:11 +0000 |
commit | eaba6fd276e88a4d7d31206b165709689b057dc3 (patch) | |
tree | ec99111658fa37fc7b9707a154f5335176cd717c /databases/mariadb101-server/files/patch-cmake_jemalloc.cmake | |
parent | Fix strange build issue related to xdg-utils. (diff) |
[NEW PORTS] databases/mariadb101-{server,client}: 10.1.11
MariaDB is one of the most popular database servers in the world. It's made
by the original developers of MySQL and guaranteed to stay open source.
Notable users include Wikipedia, Facebook and Google.
MariaDB turns data into structured information in a wide array of
applications, ranging from banking to websites. It is an enhanced, drop-in
replacement for MySQL. MariaDB is used because it is fast, scalable and
robust, with a rich ecosystem of storage engines, plugins and many other
tools make it very versatile for a wide variety of use cases.
MariaDB is developed as open source software and as a relational database
it provides an SQL interface for accessing data. This latest versions of
MariaDB also include GIS and JSON features.
WWW: http://mariadb.org/
Reviewed by: koobs (mentor), feld (mentor)
Approved by: koobs (mentor), feld (mentor)
Differential Revision: D3953
Notes
Notes:
svn path=/head/; revision=408822
Diffstat (limited to 'databases/mariadb101-server/files/patch-cmake_jemalloc.cmake')
-rw-r--r-- | databases/mariadb101-server/files/patch-cmake_jemalloc.cmake | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/mariadb101-server/files/patch-cmake_jemalloc.cmake b/databases/mariadb101-server/files/patch-cmake_jemalloc.cmake new file mode 100644 index 000000000000..187de9ad4298 --- /dev/null +++ b/databases/mariadb101-server/files/patch-cmake_jemalloc.cmake @@ -0,0 +1,24 @@ +Fix jemalloc detection on FreeBSD 10.x +Upstream https://github.com/MariaDB/server/pull/140 + +--- cmake/jemalloc.cmake.orig 2015-12-23 15:33:29 UTC ++++ cmake/jemalloc.cmake +@@ -12,9 +12,16 @@ MACRO(JEMALLOC_TRY_STATIC) + ENDMACRO() + + MACRO(JEMALLOC_TRY_DYNAMIC) +- SET(libname jemalloc) + SET(what system) +- CHECK_LIBRARY_EXISTS(${libname} malloc_stats_print "" HAVE_DYNAMIC_JEMALLOC) ++ IF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND ++ CMAKE_SYSTEM_VERSION STRGREATER "10.0") ++ # Since FreeBSD 10.0 jemalloc is in base libc ++ SET(libname c) ++ SET(HAVE_DYNAMIC_JEMALLOC ON) ++ ELSE() ++ SET(libname jemalloc) ++ CHECK_LIBRARY_EXISTS(${libname} malloc_stats_print "" HAVE_DYNAMIC_JEMALLOC) ++ ENDIF() + ENDMACRO() + + MACRO (CHECK_JEMALLOC) |