aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-01-21 19:49:48 +0800
committerdirk <dirk@FreeBSD.org>2001-01-21 19:49:48 +0800
commita9463108ede34c0d41ca173c96c757b776135965 (patch)
tree5dd216db8ae2e9e56865ee6d1a09f79c98bd1515 /databases
parentd6f6681b792e6f8f9fed2d03d6b602f9e496cab7 (diff)
downloadfreebsd-ports-gnome-a9463108ede34c0d41ca173c96c757b776135965.tar.gz
freebsd-ports-gnome-a9463108ede34c0d41ca173c96c757b776135965.tar.zst
freebsd-ports-gnome-a9463108ede34c0d41ca173c96c757b776135965.zip
Fix build on FreeBSD-3.x.
PR: ports/24160
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql322-server/Makefile14
-rw-r--r--databases/mysql323-server/Makefile10
-rw-r--r--databases/mysql40-server/Makefile10
-rw-r--r--databases/mysql41-server/Makefile10
-rw-r--r--databases/mysql50-server/Makefile10
-rw-r--r--databases/mysql51-server/Makefile10
-rw-r--r--databases/mysql54-server/Makefile10
-rw-r--r--databases/mysql55-server/Makefile10
-rw-r--r--databases/mysql60-server/Makefile10
-rw-r--r--databases/percona55-server/Makefile10
10 files changed, 80 insertions, 24 deletions
diff --git a/databases/mysql322-server/Makefile b/databases/mysql322-server/Makefile
index 89f2b9222b13..120ad3567da2 100644
--- a/databases/mysql322-server/Makefile
+++ b/databases/mysql322-server/Makefile
@@ -35,9 +35,14 @@ CONFIGURE_ENV+= PERL=${PERL} \
PERL5=${PERL} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
CONFIGURE_ARGS="${CONFIGURE_ARGS}"
+
+.include <bsd.port.pre.mk>
# without including these flags mysqld may crash under heavy load
# and multiple connections at the same time
-CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti
+CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
+.if ${OSVERSION} >= 400002
+CXXFLAGS+= -fno-exceptions
+.endif
# MySQL-Server part
.if !defined(CLIENT_ONLY)
@@ -45,8 +50,6 @@ RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql322-client
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
-.include <bsd.port.pre.mk>
-
.if ${OSVERSION} >= 320000
.if defined(MIT_PTHREADS)
CONFIGURE_ARGS+= --with-mit-threads=yes
@@ -138,8 +141,6 @@ post-install:
@install-info ${PREFIX}/info/mysql.info ${PREFIX}/info/dir
.endif
-.include <bsd.port.post.mk>
-
# MySQL-Client part
.else
MAN1= mysql.1
@@ -154,5 +155,6 @@ post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/mysql-client.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
-.include <bsd.port.mk>
.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile
index 22c3331a5c1e..22de3aeb9226 100644
--- a/databases/mysql323-server/Makefile
+++ b/databases/mysql323-server/Makefile
@@ -37,9 +37,14 @@ CONFIGURE_ENV+= PERL=${PERL} \
PERL5=${PERL} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
CONFIGURE_ARGS="${CONFIGURE_ARGS}"
+
+.include <bsd.port.pre.mk>
# without including these flags mysqld may crash under heavy load
# and multiple connections at the same time
-CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti
+CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
+.if ${OSVERSION} >= 400002
+CXXFLAGS+= -fno-exceptions
+.endif
# MySQL-Server part
.if !defined(CLIENT_ONLY)
@@ -102,6 +107,7 @@ MAKE_ENV= CLIENT_ONLY="${CLIENT_ONLY}"
post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/mysql-client.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
+
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile
index 22c3331a5c1e..22de3aeb9226 100644
--- a/databases/mysql40-server/Makefile
+++ b/databases/mysql40-server/Makefile
@@ -37,9 +37,14 @@ CONFIGURE_ENV+= PERL=${PERL} \
PERL5=${PERL} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
CONFIGURE_ARGS="${CONFIGURE_ARGS}"
+
+.include <bsd.port.pre.mk>
# without including these flags mysqld may crash under heavy load
# and multiple connections at the same time
-CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti
+CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
+.if ${OSVERSION} >= 400002
+CXXFLAGS+= -fno-exceptions
+.endif
# MySQL-Server part
.if !defined(CLIENT_ONLY)
@@ -102,6 +107,7 @@ MAKE_ENV= CLIENT_ONLY="${CLIENT_ONLY}"
post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/mysql-client.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
+
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile
index 22c3331a5c1e..22de3aeb9226 100644
--- a/databases/mysql41-server/Makefile
+++ b/databases/mysql41-server/Makefile
@@ -37,9 +37,14 @@ CONFIGURE_ENV+= PERL=${PERL} \
PERL5=${PERL} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
CONFIGURE_ARGS="${CONFIGURE_ARGS}"
+
+.include <bsd.port.pre.mk>
# without including these flags mysqld may crash under heavy load
# and multiple connections at the same time
-CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti
+CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
+.if ${OSVERSION} >= 400002
+CXXFLAGS+= -fno-exceptions
+.endif
# MySQL-Server part
.if !defined(CLIENT_ONLY)
@@ -102,6 +107,7 @@ MAKE_ENV= CLIENT_ONLY="${CLIENT_ONLY}"
post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/mysql-client.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
+
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index 22c3331a5c1e..22de3aeb9226 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-server/Makefile
@@ -37,9 +37,14 @@ CONFIGURE_ENV+= PERL=${PERL} \
PERL5=${PERL} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
CONFIGURE_ARGS="${CONFIGURE_ARGS}"
+
+.include <bsd.port.pre.mk>
# without including these flags mysqld may crash under heavy load
# and multiple connections at the same time
-CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti
+CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
+.if ${OSVERSION} >= 400002
+CXXFLAGS+= -fno-exceptions
+.endif
# MySQL-Server part
.if !defined(CLIENT_ONLY)
@@ -102,6 +107,7 @@ MAKE_ENV= CLIENT_ONLY="${CLIENT_ONLY}"
post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/mysql-client.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
+
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 22c3331a5c1e..22de3aeb9226 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -37,9 +37,14 @@ CONFIGURE_ENV+= PERL=${PERL} \
PERL5=${PERL} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
CONFIGURE_ARGS="${CONFIGURE_ARGS}"
+
+.include <bsd.port.pre.mk>
# without including these flags mysqld may crash under heavy load
# and multiple connections at the same time
-CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti
+CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
+.if ${OSVERSION} >= 400002
+CXXFLAGS+= -fno-exceptions
+.endif
# MySQL-Server part
.if !defined(CLIENT_ONLY)
@@ -102,6 +107,7 @@ MAKE_ENV= CLIENT_ONLY="${CLIENT_ONLY}"
post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/mysql-client.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
+
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 22c3331a5c1e..22de3aeb9226 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -37,9 +37,14 @@ CONFIGURE_ENV+= PERL=${PERL} \
PERL5=${PERL} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
CONFIGURE_ARGS="${CONFIGURE_ARGS}"
+
+.include <bsd.port.pre.mk>
# without including these flags mysqld may crash under heavy load
# and multiple connections at the same time
-CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti
+CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
+.if ${OSVERSION} >= 400002
+CXXFLAGS+= -fno-exceptions
+.endif
# MySQL-Server part
.if !defined(CLIENT_ONLY)
@@ -102,6 +107,7 @@ MAKE_ENV= CLIENT_ONLY="${CLIENT_ONLY}"
post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/mysql-client.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
+
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 22c3331a5c1e..22de3aeb9226 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -37,9 +37,14 @@ CONFIGURE_ENV+= PERL=${PERL} \
PERL5=${PERL} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
CONFIGURE_ARGS="${CONFIGURE_ARGS}"
+
+.include <bsd.port.pre.mk>
# without including these flags mysqld may crash under heavy load
# and multiple connections at the same time
-CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti
+CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
+.if ${OSVERSION} >= 400002
+CXXFLAGS+= -fno-exceptions
+.endif
# MySQL-Server part
.if !defined(CLIENT_ONLY)
@@ -102,6 +107,7 @@ MAKE_ENV= CLIENT_ONLY="${CLIENT_ONLY}"
post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/mysql-client.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
+
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index 22c3331a5c1e..22de3aeb9226 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-server/Makefile
@@ -37,9 +37,14 @@ CONFIGURE_ENV+= PERL=${PERL} \
PERL5=${PERL} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
CONFIGURE_ARGS="${CONFIGURE_ARGS}"
+
+.include <bsd.port.pre.mk>
# without including these flags mysqld may crash under heavy load
# and multiple connections at the same time
-CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti
+CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
+.if ${OSVERSION} >= 400002
+CXXFLAGS+= -fno-exceptions
+.endif
# MySQL-Server part
.if !defined(CLIENT_ONLY)
@@ -102,6 +107,7 @@ MAKE_ENV= CLIENT_ONLY="${CLIENT_ONLY}"
post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/mysql-client.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
+
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 22c3331a5c1e..22de3aeb9226 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -37,9 +37,14 @@ CONFIGURE_ENV+= PERL=${PERL} \
PERL5=${PERL} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
CONFIGURE_ARGS="${CONFIGURE_ARGS}"
+
+.include <bsd.port.pre.mk>
# without including these flags mysqld may crash under heavy load
# and multiple connections at the same time
-CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti
+CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
+.if ${OSVERSION} >= 400002
+CXXFLAGS+= -fno-exceptions
+.endif
# MySQL-Server part
.if !defined(CLIENT_ONLY)
@@ -102,6 +107,7 @@ MAKE_ENV= CLIENT_ONLY="${CLIENT_ONLY}"
post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/mysql-client.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
+
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>