openbsd-ports/databases/MyCC/patches/patch-configure
wilfried 307b0c43f9 update to mysqlcc-0.8.6
This program will now be referred to as "MySQL Control Center", not
"MyCC". The name of the executable file has changed from "MyCC" to
"mysqlcc" and so have all the config directories.
2002-11-05 15:55:48 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure,v 1.2 2002/11/05 15:55:49 wilfried Exp $
--- configure.orig Sat Nov 2 14:47:25 2002
+++ configure Mon Nov 4 18:13:33 2002
@@ -2121,7 +2121,7 @@ fi
if test "x$mysql_found" = "xyes"
then
LIBS="-L$dir $SAVE_LIBS $LIBZ_LIB"
- MYSQL_LIB="$dir/libmysqlclient.a $LIBZ_LIB"
+ MYSQL_LIB="-lmysqlclient $LIBZ_LIB"
echo "$as_me:2126: checking for mysql_real_connect in -lmysqlclient" >&5
echo $ECHO_N "checking for mysql_real_connect in -lmysqlclient... $ECHO_C" >&6
@@ -2497,7 +2497,7 @@ fi
echo "$as_me:2498: checking \"if Qt Version in $QTDIR is >= 3.0.2\"" >&5
echo $ECHO_N "checking \"if Qt Version in $QTDIR is >= 3.0.2\"... $ECHO_C" >&6
-CPPFLAGS="$CPPFLAGS -I$QTDIR/include"
+CPPFLAGS="$CPPFLAGS -I$LOCALBASE/include/X11/qt3"
cat >conftest.$ac_ext <<_ACEOF
#line 2502 "configure"
#include "confdefs.h"
@@ -3184,7 +3184,7 @@ fi
QMAKESPEC=$QTDIR/mkspecs/$host_os
echo "Creating Makefile with qmake"
-QMAKESPEC=$QMAKESPECE QTDIR=$QTDIR $QTDIR/bin/qmake mysqlcc.pro
+QMAKESPEC=$FILESDIR QTDIR=$QTDIR $QTDIR/bin/qmake mysqlcc.pro
if test ! $? = 0 ; then
echo "qmake failed, aborting"
exit 1