Fix build on FreeBSD 4.X.

PR:		ports/71352
Submitted by:	Douglas Thrift <douglas@douglasthrift.net>
Approved by:	portmgr (marcus)
This commit is contained in:
Alex Dupre 2004-09-24 16:20:02 +00:00
parent b34e1466b9
commit 41b555d7e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118375

View file

@ -46,7 +46,6 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \
--with-low-memory \ --with-low-memory \
--with-ndbcluster \ --with-ndbcluster \
--with-comment='FreeBSD port: ${PKGNAME}' \ --with-comment='FreeBSD port: ${PKGNAME}' \
--with-zlib-dir=/usr \
--enable-thread-safe-client --enable-thread-safe-client
.ifdef USE_MYSQL .ifdef USE_MYSQL
@ -143,6 +142,7 @@ pre-fetch:
post-patch: post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @docs_dirs@ @sql_server_dirs@ scripts man support-files|g" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @docs_dirs@ @sql_server_dirs@ scripts man support-files|g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|all: config.h|all: config.h all-local|g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = @server_scripts@ mysql_create_system_tables|g" ${WRKSRC}/scripts/Makefile.in @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = @server_scripts@ mysql_create_system_tables|g" ${WRKSRC}/scripts/Makefile.in
@${REINPLACE_CMD} -e "s|dist_pkgdata_DATA =|dist_pkgdata_DATA = fill_help_tables.sql|g" ${WRKSRC}/scripts/Makefile.in @${REINPLACE_CMD} -e "s|dist_pkgdata_DATA =|dist_pkgdata_DATA = fill_help_tables.sql|g" ${WRKSRC}/scripts/Makefile.in
@${REINPLACE_CMD} -e "s|man_MANS =|man_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in @${REINPLACE_CMD} -e "s|man_MANS =|man_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in