svn commit: r389029 - head/databases/freetds

Muhammad Moinur Rahman bofh at FreeBSD.org
Wed Jun 10 10:29:07 UTC 2015


Author: bofh
Date: Wed Jun 10 10:29:06 2015
New Revision: 389029
URL: https://svnweb.freebsd.org/changeset/ports/389029

Log:
  databases/freetds: Fix build with IODBC
  
  PR:		200747
  Submitted by:	crest at sahiro.org

Modified:
  head/databases/freetds/Makefile

Modified: head/databases/freetds/Makefile
==============================================================================
--- head/databases/freetds/Makefile	Wed Jun 10 09:47:12 2015	(r389028)
+++ head/databases/freetds/Makefile	Wed Jun 10 10:29:06 2015	(r389029)
@@ -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


More information about the svn-ports-all mailing list