Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2021 04:03:00 GMT
From:      Jochen Neumeister <joneum@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d0fb3afd503e - main - databases/mysql57-*: fix build with libressl
Message-ID:  <202108100403.17A430sp028197@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by joneum:

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

commit d0fb3afd503e0670b5be7abeefca1fc07b5a45f4
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2021-08-10 03:59:39 +0000
Commit:     Jochen Neumeister <joneum@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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108100403.17A430sp028197>