ports/databases/hk_classes/files/patch-configure
Tilman Keskinoz 854c161f24 - Update to 0.6.2
- portlint
- utilize OPTIONS
- Add ODBC driver
- Pass Maintainership to submitter

PR:		64072
Submitted by:	Sergey Matveychuk <sem@ciam.ru>
2004-03-11 19:10:27 +00:00

50 lines
1.4 KiB
Text

--- configure.orig Sat Nov 15 19:04:37 2003
+++ configure Thu Mar 11 00:21:00 2004
@@ -7855,7 +7855,7 @@
# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+LIBTOOL_DEPS="--disable-ltlibs /usr/local/share/libtool13/ltmain.sh"
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -8541,9 +8541,8 @@
NODRIVER=true
POSSIBLE_DRIVERS="MYSQL,ODBC, POSTGRESQL"
-cat >>confdefs.h <<_ACEOF
-#define HKCLASSES "$HK_CLASSESDIR"
-_ACEOF
+echo -n "#define HKCLASSES " >>confdefs.h
+echo \"$prefix/lib/hk_classes\" >>confdefs.h
echo "$as_me:$LINENO: result: OK" >&5
echo "${ECHO_T}OK" >&6
@@ -15667,7 +15666,7 @@
echo "$as_me:$LINENO: result: $mysql_lib" >&5
echo "${ECHO_T}$mysql_lib" >&6
-if test $mysql_lib = yes ; then
+if test $mysql_lib = yes -a "x$with_mysql" != "xno"; then
NODRIVER=false
DRIVERSDIR="$DRIVERSDIR hk_mysqlclasses"
@@ -15807,7 +15806,7 @@
echo "$as_me:$LINENO: result: $postgres_lib" >&5
echo "${ECHO_T}$postgres_lib" >&6
-if test $postgres_lib = yes ; then
+if test $postgres_lib = yes -a "x$with_postgres" != "xno"; then
NODRIVER=false
DRIVERSDIR="$DRIVERSDIR hk_postgresclasses"
@@ -15966,7 +15965,7 @@
echo "$as_me:$LINENO: result: $odbc_lib" >&5
echo "${ECHO_T}$odbc_lib" >&6
-if test x$odbc_lib = xyes ; then
+if test x$odbc_lib = xyes -a "x$with_odbc" != "xno"; then
NODRIVER=false
DRIVERSDIR="$DRIVERSDIR hk_odbcclasses"