Ticket #44127: patch-configure-mysql.diff.patch

File patch-configure-mysql.diff.patch, 1.4 KB (added by robertoschwald (Robert Oschwald), 10 years ago)

Patch for the existing patch-configure-mysql.diff

  • files/patch-configure-mysql.diff

    old new  
    1 --- configure.orig      2014-01-08 14:36:00.000000000 -0700
    2 +++ configure   2014-01-08 14:37:59.000000000 -0700
    3 @@ -24328,110 +24328,9 @@
     1--- configure.orig      2014-06-03 01:28:41.000000000 -0700
     2+++ configure   2014-06-26 06:42:01.000000000 -0700
     3@@ -24039,112 +24039,13 @@
     4 if test "${with_mysql+set}" = set; then :
    45   withval=$with_mysql;
    56   if test "$withval" != "no"; then
    6          if test "$withval" = "yes"; then
     7-        if test "$withval" = "yes"; then
    78-#
    89-# This code is very broken on older systems
    910-#
     
    108109-$as_echo "no" >&6; }
    109110-              as_fn_error $? "Invalid MySQL directory $withval - unable to find mysql.h under $withval" "$LINENO" 5
    110111-           fi
    111 +           MYSQL_INCDIR=@@PREFIX@@/include/mysql55/mysql
    112 +           MYSQL_LIBDIR=@@PREFIX@@/lib/mysql55/mysql
    113 +           MYSQL_BINDIR=@@PREFIX@@/lib/mysql55/bin
    114          fi
     112-        fi
     113+
     114+     ## replaced by macports start
     115+     MYSQL_INCDIR=/opt/local/include/mysql55/mysql
     116+     MYSQL_LIBDIR=/opt/local/lib/mysql55/mysql
     117+     MYSQL_BINDIR=/opt/local/lib/mysql55/bin
     118+     ## replaced by macports end
     119+
    115120      MYSQL_INCLUDE=-I$MYSQL_INCDIR
    116121      if test -f $MYSQL_LIBDIR/libmysqlclient_r.a \
     122           -o -f $MYSQL_LIBDIR/libmysqlclient_r.so; then