From 8fc84dfae78b91168c1d5d522bcb0f965b431cf7 Mon Sep 17 00:00:00 2001 From: dirk Date: Mon, 12 Aug 2002 20:21:51 +0000 Subject: - remove CXX=${CC} this doesn't work with -CURRENT ${CC} any longer. - add patch to use correct prototypes for libwrap --- databases/mysql40-server/Makefile | 3 +-- databases/mysql40-server/files/patch-sql_mysqld.cc | 11 +++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 databases/mysql40-server/files/patch-sql_mysqld.cc (limited to 'databases/mysql40-server') diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile index 54d6c1c6b3a4..25b04e4f9a2d 100644 --- a/databases/mysql40-server/Makefile +++ b/databases/mysql40-server/Makefile @@ -7,7 +7,7 @@ PORTNAME?= ${MASTERPORTNAME} PORTVERSION= 3.23.51 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \ @@ -61,7 +61,6 @@ CONFIGURE_ARGS+=--enable-thread-safe-client CONFIGURE_ENV+= PERL=${PERL} \ PERL5=${PERL} \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ - CXX="${CC}" \ CFLAGS="${CFLAGS}" \ CONFIGURE_ARGS="${CONFIGURE_ARGS}" diff --git a/databases/mysql40-server/files/patch-sql_mysqld.cc b/databases/mysql40-server/files/patch-sql_mysqld.cc new file mode 100644 index 000000000000..e1481206a280 --- /dev/null +++ b/databases/mysql40-server/files/patch-sql_mysqld.cc @@ -0,0 +1,11 @@ +--- sql/mysqld.cc.orig Mon Jun 3 12:39:02 2002 ++++ sql/mysqld.cc Mon Aug 12 11:15:20 2002 +@@ -90,7 +90,7 @@ + int allow_severity = LOG_INFO; + int deny_severity = LOG_WARNING; + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + #define my_fromhost(A) fromhost() + #define my_hosts_access(A) hosts_access() + #define my_eval_client(A) eval_client() -- cgit