Created attachment 157590 [details] Fix replacig ODBC_INC in configure.ac. Now, $ODBC_INC/ in the configure script are replaced into $ODBC_INC/libiodbc/ at post-patch sequence. But, because using autoconf is specified in the Makefile, the configure script is regenerated before running the script. My patch replaces the tareget of REINPLACE_CMD into configure.ac. It works with regenerating the configure script.
A commit references this bug: Author: bofh Date: Wed Jun 10 10:29:06 UTC 2015 New revision: 389029 URL: https://svnweb.freebsd.org/changeset/ports/389029 Log: databases/freetds: Fix build with IODBC PR: 200747 Submitted by: crest@sahiro.org Changes: head/databases/freetds/Makefile
Thanks