aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql55-server
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2002-08-13 04:21:51 +0800
committerdirk <dirk@FreeBSD.org>2002-08-13 04:21:51 +0800
commit8fc84dfae78b91168c1d5d522bcb0f965b431cf7 (patch)
treeddfff5cffb1f9f755b923c1a7b71a7eb1f0c0860 /databases/mysql55-server
parentafeecb13b6bb0a85f2782a46fbf2c6e6c23a1575 (diff)
downloadfreebsd-ports-gnome-8fc84dfae78b91168c1d5d522bcb0f965b431cf7.tar.gz
freebsd-ports-gnome-8fc84dfae78b91168c1d5d522bcb0f965b431cf7.tar.zst
freebsd-ports-gnome-8fc84dfae78b91168c1d5d522bcb0f965b431cf7.zip
- remove CXX=${CC} this doesn't work with -CURRENT ${CC} any longer.
- add patch to use correct prototypes for libwrap
Diffstat (limited to 'databases/mysql55-server')
-rw-r--r--databases/mysql55-server/Makefile3
-rw-r--r--databases/mysql55-server/files/patch-sql_mysqld.cc11
2 files changed, 12 insertions, 2 deletions
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 54d6c1c6b3a4..25b04e4f9a2d 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-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/mysql55-server/files/patch-sql_mysqld.cc b/databases/mysql55-server/files/patch-sql_mysqld.cc
new file mode 100644
index 000000000000..e1481206a280
--- /dev/null
+++ b/databases/mysql55-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()