From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 6 06:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EEC9FFC5 for ; Tue, 6 May 2014 06:50:00 +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 CAD36AE2 for ; Tue, 6 May 2014 06:50:00 +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 s466o0um099353 for ; Tue, 6 May 2014 06: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 s466o0ii099343; Tue, 6 May 2014 06:50:00 GMT (envelope-from gnats) Resent-Date: Tue, 6 May 2014 06:50:00 GMT Resent-Message-Id: <201405060650.s466o0ii099343@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 [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF621CA3 for ; Tue, 6 May 2014 06:42:53 +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 A2B43A90 for ; Tue, 6 May 2014 06:42:53 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s466grhF072297 for ; Tue, 6 May 2014 06:42:53 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s466grIL072296; Tue, 6 May 2014 06:42:53 GMT (envelope-from nobody) Message-Id: <201405060642.s466grIL072296@cgiserv.freebsd.org> Date: Tue, 6 May 2014 06:42:53 GMT From: Rainer Hurling To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/189389: [maintainer][patch] math/saga: 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: Tue, 06 May 2014 06:50:01 -0000 >Number: 189389 >Category: ports >Synopsis: [maintainer][patch] math/saga: 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: Tue May 06 06: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], math/saga 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. As I am here, also change to 'USES=compiler:gcc-c++11-lib' to simplify the makefile. [1] http://svnweb.freebsd.org/ports?view=revision&revision=353029 >How-To-Repeat: Try to build math/saga. >Fix: Patch attached with submission follows: --- saga.orig/Makefile 2014-05-05 21:47:54.000000000 +0200 +++ saga/Makefile 2014-05-06 07:44:10.000000000 +0200 @@ -3,7 +3,7 @@ PORTNAME= saga PORTVERSION= 2.1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -18,7 +18,7 @@ libgdal.so:${PORTSDIR}/graphics/gdal \ libjasper.so:${PORTSDIR}/graphics/jasper \ libtiff.so:${PORTSDIR}/graphics/tiff \ - libiodbc.so:${PORTSDIR}/databases/libiodbc \ + libodbc.so:${PORTSDIR}/databases/unixODBC \ liblas.so:${PORTSDIR}/devel/liblas \ libopencv_ml.so:${PORTSDIR}/graphics/opencv RUN_DEPENDS:= ${BUILD_DEPENDS} @@ -33,7 +33,7 @@ USE_PYTHON= 2 USE_LDCONFIG= yes USE_WX= 3.0 -USES= compiler:features iconv:wchar_t dos2unix libtool +USES= compiler:gcc-c++11-lib iconv:wchar_t dos2unix WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WX_UNICODE= yes @@ -64,15 +64,6 @@ .include -# CLANG is not able to handle neither Fortran nor OpenMP -USE_GCC= yes -.if ${COMPILER_FEATURES:Mlibc++} -BUILD_DEPENDS+= ${LOCALBASE}/lib/c++/libstdc++.so:${PORTSDIR}/devel/libc++ -CFLAGS+= -isystem ${LOCALBASE}/include/c++/v1 -CXXFLAGS+= -nostdinc++ -isystem ${LOCALBASE}/include/c++/v1 -LDFLAGS+= -L${LOCALBASE}/lib/c++ -.endif - post-patch: @${REINPLACE_CMD} -e's|wx-config |${WX_CONFIG} |g' \ ${WRKSRC}/configure \ >Release-Note: >Audit-Trail: >Unformatted: