pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mariadb106-client mariadb106-client: fix bui...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fdd4e162f9b7
branches: trunk
changeset: 391309:fdd4e162f9b7
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jan 08 00:22:54 2023 +0000
description:
mariadb106-client: fix build on NetBSD with binutils 2.39
diffstat:
databases/mariadb106-client/Makefile | 4 ++-
databases/mariadb106-client/distinfo | 3 +-
databases/mariadb106-client/patches/patch-extra_readline_CMakeLists.txt | 12 ++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diffs (50 lines):
diff -r e6ee6df5bfee -r fdd4e162f9b7 databases/mariadb106-client/Makefile
--- a/databases/mariadb106-client/Makefile Sun Jan 08 00:22:27 2023 +0000
+++ b/databases/mariadb106-client/Makefile Sun Jan 08 00:22:54 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/11/27 20:05:52 nia Exp $
+# $NetBSD: Makefile,v 1.11 2023/01/08 00:22:54 wiz Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
COMMENT= MariaDB 10.6, a free MySQL compatible database (client)
@@ -11,5 +11,7 @@
INSTALL_DIRS+= client include libmariadb man scripts
+CMAKE_ARGS.NetBSD+= -DTGOTOLIB=-ltermcap
+
.include "options.mk"
.include "../../mk/bsd.pkg.mk"
diff -r e6ee6df5bfee -r fdd4e162f9b7 databases/mariadb106-client/distinfo
--- a/databases/mariadb106-client/distinfo Sun Jan 08 00:22:27 2023 +0000
+++ b/databases/mariadb106-client/distinfo Sun Jan 08 00:22:54 2023 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2022/11/27 20:05:52 nia Exp $
+$NetBSD: distinfo,v 1.13 2023/01/08 00:22:54 wiz Exp $
BLAKE2s (mariadb-10.6.11.tar.gz) = 35fdd56e98707990a65571f2dbc2c11739647d6075f700df0d6a707030c4d77d
SHA512 (mariadb-10.6.11.tar.gz) = 4b9e8e16651329f53eb19670dcc7f5dbb11ba84c28cca35bc7d216c5504b6db698ab65ce42c30a34ab967c1b14e6637c511ac4b49f2613b01f6dd615288cba98
@@ -7,6 +7,7 @@
SHA1 (patch-CMakeLists.txt) = 042d9d361a5c3ff7e7df15f5de4a30eb7984cddd
SHA1 (patch-client_CMakeLists.txt) = 8fdd8a182304f0b84e120ce95334ace23d02ce88
SHA1 (patch-client_mysql.cc) = f49f942b765ccf427e9bcc9e4e0045ec74c94815
+SHA1 (patch-extra_readline_CMakeLists.txt) = 37873deaeccb37e1313179103bb12dcde4a496d6
SHA1 (patch-include_my__global.h) = a3b831f91ba2efea9f78e70ab4f706da23b80403
SHA1 (patch-mysys_my__gethwaddr.c) = c3f179aa659e16f2fd9b858a718dd1cdd6f93c9f
SHA1 (patch-plugin_auth__pam_testing_pam__mariadb__mtr.c) = 6062cfbb200af5b95ac05e4759f08b414f63db3d
diff -r e6ee6df5bfee -r fdd4e162f9b7 databases/mariadb106-client/patches/patch-extra_readline_CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb106-client/patches/patch-extra_readline_CMakeLists.txt Sun Jan 08 00:22:54 2023 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-extra_readline_CMakeLists.txt,v 1.1 2023/01/08 00:22:54 wiz Exp $
+
+On NetBSD, tgoto is in libtermcap - helper patch.
+
+--- extra/readline/CMakeLists.txt.orig 2022-11-03 10:07:23.000000000 +0000
++++ extra/readline/CMakeLists.txt
+@@ -56,4 +56,4 @@ ADD_LIBRARY(readline STATIC
+
+ # Declare dependency
+ # so every executable that links with readline links with curses as well
+-TARGET_LINK_LIBRARIES(readline ${CURSES_LIBRARY})
++TARGET_LINK_LIBRARIES(readline ${CURSES_LIBRARY} ${TGOTOLIB})
Home |
Main Index |
Thread Index |
Old Index