diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-12-29 10:02:02 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-12-29 10:02:02 +0000 |
commit | 96f0f11fde3760707b14b11153e0470e45c534d9 (patch) | |
tree | d012c1a10d115c7ec3c788f009996f5b3d6f25c0 /dev-db/mysqlcc/files | |
parent | Version bumped (diff) | |
download | historical-96f0f11fde3760707b14b11153e0470e45c534d9.tar.gz historical-96f0f11fde3760707b14b11153e0470e45c534d9.tar.bz2 historical-96f0f11fde3760707b14b11153e0470e45c534d9.zip |
Version bumped
Diffstat (limited to 'dev-db/mysqlcc/files')
-rw-r--r-- | dev-db/mysqlcc/files/digest-mysqlcc-0.9.4 | 1 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/mysqlcc-0.9.4-libmysqlclientac.patch | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-db/mysqlcc/files/digest-mysqlcc-0.9.4 b/dev-db/mysqlcc/files/digest-mysqlcc-0.9.4 new file mode 100644 index 000000000000..fc4c802ddded --- /dev/null +++ b/dev-db/mysqlcc/files/digest-mysqlcc-0.9.4 @@ -0,0 +1 @@ +MD5 26ee3528dce690b227d8bfb71b46ae66 mysqlcc-0.9.4-src.tar.gz 747244 diff --git a/dev-db/mysqlcc/files/mysqlcc-0.9.4-libmysqlclientac.patch b/dev-db/mysqlcc/files/mysqlcc-0.9.4-libmysqlclientac.patch new file mode 100644 index 000000000000..f6db1a6a6bd1 --- /dev/null +++ b/dev-db/mysqlcc/files/mysqlcc-0.9.4-libmysqlclientac.patch @@ -0,0 +1,46 @@ +--- acinclude.m4.orig 2003-03-04 01:07:26.000000000 -0800 ++++ acinclude.m4 2003-03-04 12:46:35.000000000 -0800 +@@ -6,34 +6,15 @@ + AC_MSG_CHECKING([for libmysqlclient]) + AC_MSG_RESULT() + +- mysql_ok=no +- +- SAVE_LIBS=$LIBS +- +- mysql_lib="$mysql_lib /usr/lib /usr/lib/mysql \ +- /usr/local/lib /usr/local/lib/mysql \ +- /usr/local/mysql/lib" +- +- for dir in $mysql_lib; do +- if test "x$mysql_found" != "xyes" +- then +- AC_CHECK_FILE("$dir/libmysqlclient.a", +- mysql_found=yes, mysql_found=no) +- if test "x$mysql_found" = "xyes" +- then +- LIBS="-L$dir $SAVE_LIBS $LIBZ_LIB" +- MYSQL_LIB="$dir/libmysqlclient.a $LIBZ_LIB" +- AC_SUBST(MYSQL_LIB) +- AC_CHECK_LIB(mysqlclient, mysql_real_connect, +- mysql_ok=yes, mysql_ok=no) +- fi +- fi +- done +- +- if test "x$mysql_ok" != "xyes" +- then +- AC_MSG_ERROR([Could not find libmysqlclient in '$mysql_lib']) +- fi ++ # dependencies are guaranteed to ensure we have mysql_config ++ # available, and it is a much cleaner way of discovering what ++ # must be linked against libmysqlclient, that transparently ++ # covers USE="ssl" and other issues. ++ # Robert Coie <rac@gentoo.org> 2003.03.04 ++ ++ mysql_ok=yes ++ MYSQL_LIB=`mysql_config --libs` ++ LIBS="${LIBS} ${MYSQL_LIB}" + ]) + + |