diff options
author | anders <anders@FreeBSD.org> | 2002-05-04 21:14:57 +0800 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2002-05-04 21:14:57 +0800 |
commit | bb1c0b22d797d1938de52b4f8d7048047cbcb395 (patch) | |
tree | 414e77d9e7267e799317332c45e48cb5c2fecbbb /databases | |
parent | 75bb372c9a1a8497e14498b7aae1dcf3362d6557 (diff) | |
download | freebsd-ports-gnome-bb1c0b22d797d1938de52b4f8d7048047cbcb395.tar.gz freebsd-ports-gnome-bb1c0b22d797d1938de52b4f8d7048047cbcb395.tar.zst freebsd-ports-gnome-bb1c0b22d797d1938de52b4f8d7048047cbcb395.zip |
Fix configure when used with unixODBC.
PR: 37721
Submitted by: maintainer
Diffstat (limited to 'databases')
-rw-r--r-- | databases/myodbc/Makefile | 3 | ||||
-rw-r--r-- | databases/mysql-connector-odbc/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/databases/myodbc/Makefile b/databases/myodbc/Makefile index 7ec968d8cee5..706dd9347ca0 100644 --- a/databases/myodbc/Makefile +++ b/databases/myodbc/Makefile @@ -28,7 +28,8 @@ CONFIGURE_ARGS= --with-mysql-libs=${LOCALBASE}/lib/mysql \ DRIVER_MANAGER?= iodbc .if ${DRIVER_MANAGER} == "unixodbc" -CONFIGURE_ARGS+= --with-odbc-ini=${LOCALBASE}/etc/odbc.ini +CONFIGURE_ARGS+= --with-odbc-ini=${LOCALBASE}/etc/odbc.ini \ + --with-unixODBC=${LOCALBASE} LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC .else # assume we're using iodbc LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc diff --git a/databases/mysql-connector-odbc/Makefile b/databases/mysql-connector-odbc/Makefile index 7ec968d8cee5..706dd9347ca0 100644 --- a/databases/mysql-connector-odbc/Makefile +++ b/databases/mysql-connector-odbc/Makefile @@ -28,7 +28,8 @@ CONFIGURE_ARGS= --with-mysql-libs=${LOCALBASE}/lib/mysql \ DRIVER_MANAGER?= iodbc .if ${DRIVER_MANAGER} == "unixodbc" -CONFIGURE_ARGS+= --with-odbc-ini=${LOCALBASE}/etc/odbc.ini +CONFIGURE_ARGS+= --with-odbc-ini=${LOCALBASE}/etc/odbc.ini \ + --with-unixODBC=${LOCALBASE} LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC .else # assume we're using iodbc LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc |