From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 5 19:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40807818 for ; Mon, 5 May 2014 19:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1DD295F9A for ; Mon, 5 May 2014 19:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s45Jo08F067045 for ; Mon, 5 May 2014 19:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s45Jo0C9067034; Mon, 5 May 2014 19:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 5 May 2014 19:50:00 GMT Resent-Message-Id: <201405051950.s45Jo0C9067034@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rainer Hurling Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8409576 for ; Mon, 5 May 2014 19:40:45 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BBD555ED8 for ; Mon, 5 May 2014 19:40:45 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s45JejlZ005466 for ; Mon, 5 May 2014 19:40:45 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s45Jejt4005462; Mon, 5 May 2014 19:40:45 GMT (envelope-from nobody) Message-Id: <201405051940.s45Jejt4005462@cgiserv.freebsd.org> Date: Mon, 5 May 2014 19:40:45 GMT From: Rainer Hurling To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/189382: [PATCH] databases/mdbtools: fix build after r353029 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2014 19:50:01 -0000 >Number: 189382 >Category: ports >Synopsis: [PATCH] databases/mdbtools: fix build after r353029 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon May 05 19:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Rainer Hurling >Release: 11.0-CURRENT amd64 (clang) >Organization: >Environment: FreeBSD xxx.xxx.xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r265310: Sun May 4 08:39:23 CEST 2014 xxx@xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX amd64 >Description: After 'fixing unixODBC vs libiodbc conflicts' by bapt@ [1], databases/mdbtools does not build anymore. It tries to find include/sql.h from databases/libiodbc, which does not exist any more. As a quick fix I changed the dependency from databases/libiodbc to databases/unixODBC. This builds and works fine, but on some boxes it now could be necessary to change the configuration file for odbc connections. The plan for the near future will be to find a solution to also get libiodbc to work again with mdbtools. On success, I would like to make a knob to choose between the both database lib dependencies. [1] http://svnweb.freebsd.org/ports?view=revision&revision=353029 >How-To-Repeat: Try to build databases/mdbtools 0.7.1_1 >Fix: Patch attached with submission follows: diff -ur mdbtools.orig/Makefile mdbtools/Makefile --- mdbtools.orig/Makefile 2014-05-05 18:47:42.000000000 +0200 +++ mdbtools/Makefile 2014-05-05 21:06:59.000000000 +0200 @@ -3,7 +3,7 @@ PORTNAME= mdbtools PORTVERSION= 0.7.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= https://github.com/brianb/mdbtools/archive/ DISTNAME= ${PORTVERSION} @@ -16,7 +16,7 @@ # To build man-pages BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk \ txt2man:${PORTSDIR}/textproc/txt2man -LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc +LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC USES= bison pkgconfig iconv USE_AUTOTOOLS= libtool autoconf automake @@ -25,7 +25,7 @@ WANT_GNOME= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \ - --with-iodbc=${LOCALBASE} + --with-unixodbc=${LOCALBASE} DOCS= AUTHORS ChangeLog HACKING NEWS README TODO >Release-Note: >Audit-Trail: >Unformatted: