diff options
author | dirk <dirk@FreeBSD.org> | 2002-08-12 20:21:51 +0000 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2002-08-12 20:21:51 +0000 |
commit | 8fc84dfae78b91168c1d5d522bcb0f965b431cf7 (patch) | |
tree | ddfff5cffb1f9f755b923c1a7b71a7eb1f0c0860 /databases/mysql323-server | |
parent | afeecb13b6bb0a85f2782a46fbf2c6e6c23a1575 (diff) | |
download | FreeBSD-ports-8fc84dfae78b91168c1d5d522bcb0f965b431cf7.zip FreeBSD-ports-8fc84dfae78b91168c1d5d522bcb0f965b431cf7.tar.gz |
- remove CXX=${CC} this doesn't work with -CURRENT ${CC} any longer.
- add patch to use correct prototypes for libwrap
Diffstat (limited to 'databases/mysql323-server')
-rw-r--r-- | databases/mysql323-server/Makefile | 3 | ||||
-rw-r--r-- | databases/mysql323-server/files/patch-sql_mysqld.cc | 11 |
2 files changed, 12 insertions, 2 deletions
diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile index 54d6c1c..25b04e4 100644 --- a/databases/mysql323-server/Makefile +++ b/databases/mysql323-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/mysql323-server/files/patch-sql_mysqld.cc b/databases/mysql323-server/files/patch-sql_mysqld.cc new file mode 100644 index 0000000..e148120 --- /dev/null +++ b/databases/mysql323-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() |