1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/databases/mysqlcppapi/files/patch-configure
Edwin Groothuis 3e8d8ca41e [maintainer] Unbreak databases/mysqlcppapi after mysql41-* update
databases/mysqlcppapi is unable to detect mysql-4.1.4 and
	use new mysql_shutdown() api. Thus it is broken with mysql41-*
	after mysql41-* were updated to 4.1.4. I hope this fix can
	make it way to ports before the freeze.

PR:		ports/71348
Submitted by:	Jie Gao <gaoj@cpsc.ucalgary.ca>
2004-10-13 02:53:10 +00:00

25 lines
719 B
Plaintext

--- configure.orig Wed Aug 4 23:58:41 2004
+++ configure Thu Aug 5 00:12:29 2004
@@ -18465,8 +18465,8 @@
fi;
-MYSQL_LIBS="-L${MYSQL_PREFIX}/mysql/lib/mysql -lmysqlclient -L${MYSQL_PREFIX}/lib/mysql -lmysqlclient"
-MYSQL_CFLAGS="-I${MYSQL_PREFIX}/mysql/include"
+MYSQL_LIBS="-L${MYSQL_PREFIX}/lib/mysql -lmysqlclient"
+MYSQL_CFLAGS="-I${MYSQL_PREFIX}/include"
--- configure.orig Fri Aug 29 03:24:14 2003
+++ configure Fri Sep 3 20:09:58 2004
@@ -18660,7 +18660,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lmysqlclient $LIBS"
+LIBS="-L$MYSQL_PREFIX/lib/mysql -lmysqlclient $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */