svn commit: r527391 - in head/databases/mysql80-server: . files
Jochen Neumeister
joneum at FreeBSD.org
Fri Feb 28 22:04:42 UTC 2020
Author: joneum
Date: Fri Feb 28 22:04:41 2020
New Revision: 527391
URL: https://svnweb.freebsd.org/changeset/ports/527391
Log:
Fix build on non-x86 and nun-aarch6
PR: 244073
Submitted by: pkubaj
MFH: 2020Q1
Sponsored by: Netzkommune GmbH
Added:
head/databases/mysql80-server/files/patch-include_my__stacktrace.h (contents, props changed)
Modified:
head/databases/mysql80-server/Makefile
Modified: head/databases/mysql80-server/Makefile
==============================================================================
--- head/databases/mysql80-server/Makefile Fri Feb 28 21:01:33 2020 (r527390)
+++ head/databases/mysql80-server/Makefile Fri Feb 28 22:04:41 2020 (r527391)
@@ -32,10 +32,16 @@ LIB_DEPENDS+= libcurl.so:ftp/curl \
liblz4.so:archivers/liblz4 \
libzstd.so:archivers/zstd \
libprotobuf.so:devel/protobuf \
- libunwind.so:devel/libunwind
+ ${LIB_DEPENDS_${ARCH}}
+LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind
+LIB_DEPENDS_amd64= libunwind.so:devel/libunwind
+LIB_DEPENDS_i386= libunwind.so:devel/libunwind
BUILD_DEPENDS= liblz4>0:archivers/liblz4 \
- libunwind>0:devel/libunwind
+ ${BUILD_DEPENDS_${ARCH}}
+BUILD_DEPENDS_aarch64= libunwind>0:devel/libunwind
+BUILD_DEPENDS_amd64= libunwind>0:devel/libunwind
+BUILD_DEPENDS_i386= libunwind>0:devel/libunwind
CMAKE_BUILD_TYPE= Release
CFLAGS+= -fPIC
Added: head/databases/mysql80-server/files/patch-include_my__stacktrace.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/mysql80-server/files/patch-include_my__stacktrace.h Fri Feb 28 22:04:41 2020 (r527391)
@@ -0,0 +1,11 @@
+--- include/my_stacktrace.h.orig 2020-01-23 19:43:07.769584000 +0100
++++ include/my_stacktrace.h 2020-01-23 19:43:48.684042000 +0100
+@@ -43,7 +43,7 @@
+ HAVE_BACKTRACE - Linux, FreeBSD, OSX, Solaris
+ _WIN32 - Windows
+ */
+-#if defined(HAVE_BACKTRACE) || defined(_WIN32)
++#if (defined(HAVE_BACKTRACE) || defined(_WIN32)) && (defined(__aarch64__) || defined(__amd64__) || defined(__i386__))
+ #define HAVE_STACKTRACE 1
+ void my_init_stacktrace();
+ void my_print_stacktrace(uchar *stack_bottom, ulong thread_stack);
More information about the svn-ports-all
mailing list