aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorbofh <bofh@FreeBSD.org>2015-06-10 18:29:06 +0800
committerbofh <bofh@FreeBSD.org>2015-06-10 18:29:06 +0800
commitcab7db818062a7fb7f4150307b25cd9c9d0df432 (patch)
tree3be1680b8ea14fa054abde2437dec1bf08e3f82b /databases
parentc0a92d28021c91e252938c8210f8180edadb0a90 (diff)
downloadfreebsd-ports-gnome-cab7db818062a7fb7f4150307b25cd9c9d0df432.tar.gz
freebsd-ports-gnome-cab7db818062a7fb7f4150307b25cd9c9d0df432.tar.zst
freebsd-ports-gnome-cab7db818062a7fb7f4150307b25cd9c9d0df432.zip
databases/freetds: Fix build with IODBC
PR: 200747 Submitted by: crest@sahiro.org
Diffstat (limited to 'databases')
-rw-r--r--databases/freetds/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index 766e5f8ffb33..fde42f2f5add 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -64,8 +64,8 @@ post-patch:
s|/locales.conf|/locales.conf.sample|g ; \
s|/pool.conf|/pool.conf.sample|g ; \
s| common.h||g'
- @${REINPLACE_CMD} -e 's|$$ODBC_INC/isql.h|$$ODBC_INC/libiodbc/isql.h|g ; \
- s|$$ODBC_INC/isqlext.h|$$ODBC_INC/libiodbc/isqlext.h|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|\(\$with_iodbc/include\)|\1/libiodbc|g' \
+ ${WRKSRC}/configure.ac
post-install:
${INSTALL_DATA} ${WRKSRC}/interfaces ${STAGEDIR}${ETCDIR}/interfaces.sample