1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Fix build on FreeBSD-3.x.

PR:	ports/24160
This commit is contained in:
Dirk Froemberg 2001-01-21 11:49:48 +00:00
parent a029c19beb
commit 13506ce5fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37397
10 changed files with 80 additions and 24 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>