git: d0fb3afd503e - main - databases/mysql57-*: fix build with libressl

Jochen Neumeister joneum at FreeBSD.org
Tue Aug 10 04:03:01 UTC 2021


The branch main has been updated by joneum:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d0fb3afd503e0670b5be7abeefca1fc07b5a45f4

commit d0fb3afd503e0670b5be7abeefca1fc07b5a45f4
Author:     Jochen Neumeister <joneum at FreeBSD.org>
AuthorDate: 2021-08-10 03:59:39 +0000
Commit:     Jochen Neumeister <joneum at FreeBSD.org>
CommitDate: 2021-08-10 04:02:31 +0000

    databases/mysql57-*: fix build with libressl
    
    Sponsored by:   Netzkommune GmbH
---
 databases/mysql57-client/Makefile | 3 +++
 databases/mysql57-server/Makefile | 1 +
 2 files changed, 4 insertions(+)

diff --git a/databases/mysql57-client/Makefile b/databases/mysql57-client/Makefile
index 384f8ed22f2c..0e64409255a9 100644
--- a/databases/mysql57-client/Makefile
+++ b/databases/mysql57-client/Makefile
@@ -22,6 +22,9 @@ CONFLICTS_INSTALL=	mysql5[0-68-9]-client-* \
 CMAKE_ARGS+=	-DWITHOUT_SERVER=1 \
 		-DWITH_NDBCLUSTER=1
 
+CFLAGS+=	-DNDEBUG
+CXXFLAGS+=	-DNDEBUG
+
 USE_LDCONFIG+=	${PREFIX}/lib/mysql
 
 MMAN1=		comp_err.1 msql2mysql.1 mysql.1 mysql_config.1 mysql_config_editor.1 mysql_find_rows.1 \
diff --git a/databases/mysql57-server/Makefile b/databases/mysql57-server/Makefile
index be12769af7d4..3c37110ab85a 100644
--- a/databases/mysql57-server/Makefile
+++ b/databases/mysql57-server/Makefile
@@ -32,6 +32,7 @@ LIB_DEPENDS+=	libcurl.so:ftp/curl \
 
 CMAKE_BUILD_TYPE=	Release
 
+CFLAGS+=	-DNDEBUG
 CXXFLAGS+=	-DNDEBUG
 
 CMAKE_ARGS+=	-DINSTALL_LAYOUT=FREEBSD \


More information about the dev-commits-ports-main mailing list