databases/tarantool: Update to 2.11.0

The DEBUG option has been removed because backtraces do not work
correctly.
This commit is contained in:
Pavel Balaev 2023-05-25 16:14:47 +03:00 committed by Gleb Popov
parent 2a05f344dd
commit f07f24f98d
3 changed files with 4 additions and 38 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= tarantool
PORTVERSION= 2.10.5
PORTREVISION= 1
PORTVERSION= 2.11.0
CATEGORIES= databases
MASTER_SITES= https://download.tarantool.org/tarantool/src/
@ -51,10 +50,6 @@ TT_DATADIR?= /var/db/tarantool
TT_LOGDIR?= /var/log/tarantool
TT_RUNDIR?= /var/run/tarantool
OPTIONS_DEFINE= DEBUG
DEBUG_CMAKE_BOOL= ENABLE_BACKTRACE
post-patch:
@${ECHO_CMD} ${PORTVERSION}-0 > ${WRKSRC}/VERSION
@${GREP} -lr 'msgpuck/msgpuck.h' ${WRKSRC}/ | ${XARGS} ${REINPLACE_CMD} -e 's|msgpuck/msgpuck.h|msgpuck.h|'

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1676981388
SHA256 (tarantool-2.10.5.tar.gz) = 9386dd01070769afd0673cfef9d528aaa23039a4102a3b69b2e55af627011136
SIZE (tarantool-2.10.5.tar.gz) = 46943380
TIMESTAMP = 1685009465
SHA256 (tarantool-2.11.0.tar.gz) = 4506e7208cd20f3c1858d14b9b40fe388083592faac5c79ec30aa751e095f1f2
SIZE (tarantool-2.11.0.tar.gz) = 41044197

View file

@ -1,29 +0,0 @@
--- cmake/BuildLibUnwind.cmake.orig 2022-11-14 13:17:09.046425000 +0100
+++ cmake/BuildLibUnwind.cmake 2022-11-14 13:18:30.382852000 +0100
@@ -18,6 +18,11 @@
The paths to the libunwind libraries.
#]========================================================================]
+set(SYSTEM_ARCH ${CMAKE_SYSTEM_PROCESSOR})
+if(CMAKE_SYSTEM_NAME STREQUAL FreeBSD AND SYSTEM_ARCH STREQUAL amd64)
+ set(SYSTEM_ARCH x86_64)
+endif()
+
macro(libunwind_build)
set(LIBUNWIND_SOURCE_DIR ${PROJECT_SOURCE_DIR}/third_party/libunwind)
set(LIBUNWIND_BUILD_DIR ${PROJECT_BINARY_DIR}/build/libunwind)
@@ -91,12 +96,12 @@
add_library(bundled-libunwind-platform STATIC IMPORTED GLOBAL)
set_target_properties(bundled-libunwind-platform PROPERTIES
IMPORTED_LOCATION
- ${LIBUNWIND_INSTALL_DIR}/lib/libunwind-${CMAKE_SYSTEM_PROCESSOR}.a)
+ ${LIBUNWIND_INSTALL_DIR}/lib/libunwind-${SYSTEM_ARCH}.a)
add_dependencies(bundled-libunwind-platform bundled-libunwind-project)
set(LIBUNWIND_INCLUDE_DIR ${LIBUNWIND_INSTALL_DIR}/include)
set(LIBUNWIND_LIBRARIES
- ${LIBUNWIND_INSTALL_DIR}/lib/libunwind-${CMAKE_SYSTEM_PROCESSOR}.a
+ ${LIBUNWIND_INSTALL_DIR}/lib/libunwind-${SYSTEM_ARCH}.a
${LIBUNWIND_INSTALL_DIR}/lib/libunwind.a)
message(STATUS "Using bundled libunwind")