summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/sagan')
-rw-r--r--app-admin/sagan/files/mysql_check.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/app-admin/sagan/files/mysql_check.patch b/app-admin/sagan/files/mysql_check.patch
deleted file mode 100644
index 37f7d61fa0c8..000000000000
--- a/app-admin/sagan/files/mysql_check.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/configure.in b/configure.ac
-rename from configure.in
-rename to configure.ac
---- a/configure.in
-+++ b/configure.ac
-@@ -215,13 +215,17 @@
- AC_CHECK_LIB(pthread, main,,AC_MSG_ERROR(Sagan needs pthreads!))
- AC_CHECK_LIB(m, main,,AC_MSG_ERROR(Sagan needs libm!))
-
-+save_LIBS=$LIBS
- if test "$MYSQL" = "yes"; then
- AC_MSG_RESULT([------- MySQL support is enabled -------])
-+ AC_CHECK_PROGS(MYSQL_CONFIG, mysql_config)
- AC_CHECK_HEADER([mysql/mysql.h])
- AC_CHECK_HEADER([mysql/errmsg.h])
-- AC_CHECK_LIB(mysqlclient_r, main,,AC_MSG_ERROR(The MySQL library libmysqlclient_r is missing!
--If you're not interested in MySQL support use the --disable-mysql flag.))
-- fi
-+ LIBS=$(mysql_config --libs)
-+ AC_CHECK_LIB(mysqlclient, main,,AC_MSG_ERROR(The MySQL library libmysqlclient is missing!))
-+fi
-+LIBS="$save_LIBS $LIBS"
-+
-
- if test "$POSTGRES" = "yes"; then
- AC_MSG_RESULT([------- PostgreSQL support is enabled -------])