git: 48c4f4cfcd19 - main - databases/mydumper: Update to 0.12.7-3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 17:12:36 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=48c4f4cfcd1946c61ddfeb8071ba4c4cf262d20a commit 48c4f4cfcd1946c61ddfeb8071ba4c4cf262d20a Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-10-03 16:57:09 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-10-03 17:10:15 +0000 databases/mydumper: Update to 0.12.7-3 - Convert REINPLACE_CMD to patch file Changes: https://github.com/mydumper/mydumper/releases --- databases/mydumper/Makefile | 6 ++---- databases/mydumper/distinfo | 6 +++--- databases/mydumper/files/patch-CMakeLists.txt | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/databases/mydumper/Makefile b/databases/mydumper/Makefile index 7d73e3133983..e0daae6b8da7 100644 --- a/databases/mydumper/Makefile +++ b/databases/mydumper/Makefile @@ -1,6 +1,6 @@ PORTNAME= mydumper DISTVERSIONPREFIX= v -DISTVERSION= 0.12.5-3 +DISTVERSION= 0.12.7-3 CATEGORIES= databases MAINTAINER= sunpoet@FreeBSD.org @@ -17,6 +17,7 @@ USE_GNOME= glib20 CMAKE_ARGS= ${CMAKE_ARGS_${CHOSEN_COMPILER_TYPE}} CMAKE_ARGS_gcc= -DMYSQL_LIBRARIES_atomic:FILEPATH=${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libatomic.so CMAKE_OFF= BUILD_DOCS WITH_BINLOG +CMAKE_ON= WITH_GLIB_uuid_string_random PLIST_FILES= sbin/mydumper sbin/myloader @@ -24,9 +25,6 @@ USE_GITHUB= yes PORTSCOUT= skipv:v${DISTVERSION} -post-patch: - @${REINPLACE_CMD} -e '/link_libraries(mydumper/ s|)$$| -lm)|; s|-Werror||' ${WRKSRC}/CMakeLists.txt - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mydumper ${WRKSRC}/myloader ${STAGEDIR}${PREFIX}/sbin/ diff --git a/databases/mydumper/distinfo b/databases/mydumper/distinfo index 64cc0c4debf6..14bdeece212e 100644 --- a/databases/mydumper/distinfo +++ b/databases/mydumper/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1658506551 -SHA256 (mydumper-mydumper-v0.12.5-3_GH0.tar.gz) = 2fc5af9643a27eaca0a2ab37ba11ccac4d82f20bd8a9c14c886961453aafdf24 -SIZE (mydumper-mydumper-v0.12.5-3_GH0.tar.gz) = 131104 +TIMESTAMP = 1664767816 +SHA256 (mydumper-mydumper-v0.12.7-3_GH0.tar.gz) = 28701956a2d6793290592cab36eb9ca6d5764a62845203fdfde4549c7acaa2f9 +SIZE (mydumper-mydumper-v0.12.7-3_GH0.tar.gz) = 136449 diff --git a/databases/mydumper/files/patch-CMakeLists.txt b/databases/mydumper/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..1c5989370cc8 --- /dev/null +++ b/databases/mydumper/files/patch-CMakeLists.txt @@ -0,0 +1,15 @@ +--- CMakeLists.txt.orig 2022-09-21 12:30:41 UTC ++++ CMakeLists.txt +@@ -43,10 +43,10 @@ if (WITH_ZSTD) + endif (WITH_ZSTD) + + if (WITH_ZSTD) +- set(CMAKE_C_FLAGS "-Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -O3 -g -DZWRAP_USE_ZSTD=1 -Werror -Wno-discarded-qualifiers ${MYSQL_CFLAGS}") ++ set(CMAKE_C_FLAGS "-Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -O3 -g -DZWRAP_USE_ZSTD=1 -Wno-discarded-qualifiers ${MYSQL_CFLAGS}") + include_directories(${MYDUMPER_SOURCE_DIR} ${MYSQL_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${PCRE_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS} ${ZSTD_INCLUDE_DIR} ) + else (WITH_ZSTD) +- set(CMAKE_C_FLAGS "-Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -O3 -g -Werror ${MYSQL_CFLAGS}") ++ set(CMAKE_C_FLAGS "-Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -O3 -g ${MYSQL_CFLAGS}") + include_directories(${MYDUMPER_SOURCE_DIR} ${MYSQL_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${PCRE_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS} ) + endif (WITH_ZSTD) +