From owner-freebsd-ports@FreeBSD.ORG Tue May 22 18:15:24 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3F66106564A for ; Tue, 22 May 2012 18:15:24 +0000 (UTC) (envelope-from coder@tuxfamily.org) Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [IPv6:2a01:e0c:1:1599::12]) by mx1.freebsd.org (Postfix) with ESMTP id B986C8FC12 for ; Tue, 22 May 2012 18:15:22 +0000 (UTC) Received: from [192.168.0.2] (unknown [88.184.221.231]) by smtp3-g21.free.fr (Postfix) with ESMTP id 866EAA62D0; Tue, 22 May 2012 20:15:17 +0200 (CEST) Message-ID: <4FBBD7B4.5090505@tuxfamily.org> Date: Tue, 22 May 2012 20:15:16 +0200 From: "coder.tuxfamily" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: Rainer Hurling , freebsd-ports@freebsd.org References: <4FBA9620.3020207@gwdg.de> <4FBA997C.6010000@tuxfamily.org> <4FBAA203.90201@gwdg.de> <4FBAA388.1070906@tuxfamily.org> <4FBB24D3.4010209@gwdg.de> <4FBBC3F2.4050104@tuxfamily.org> <4FBBC504.5010305@gwdg.de> In-Reply-To: <4FBBC504.5010305@gwdg.de> Content-Type: multipart/mixed; boundary="------------030503000404050400020006" Cc: Subject: Re: graphics/gdal 1.9.0 does not build on CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2012 18:15:24 -0000 This is a multi-part message in MIME format. --------------030503000404050400020006 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I have rewrote the patch. Maybe with this new patch... --------------030503000404050400020006 Content-Type: text/plain; charset=UTF-8; name="gdal.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gdal.diff" diff -ruN /usr/ports/graphics/gdal/files/patch-configure gdal/files/patch-configure --- /usr/ports/graphics/gdal/files/patch-configure 2012-05-19 12:04:43.000000000 +0200 +++ gdal/files/patch-configure 2012-05-22 19:48:35.000000000 +0200 @@ -1,6 +1,24 @@ ---- configure.orig 2011-12-23 09:51:45.000000000 +0800 -+++ configure 2011-12-23 15:30:42.540316668 +0800 -@@ -21140,10 +21140,10 @@ +--- configure.orig 2012-01-04 08:03:42.000000000 +0100 ++++ configure 2012-05-22 19:47:53.000000000 +0200 +@@ -8908,7 +8908,7 @@ + LIBTOOL_DEPS="$ltmain" + + # Always use our own libtool. +-LIBTOOL='$(SHELL) $(top_builddir)/libtool' ++LIBTOOL='$(SHELL) /usr/local/bin/libtool' + + + +@@ -18694,7 +18694,7 @@ + rm -f testiconv.* + echo '#include ' > testiconv.cpp + echo 'int main(int argc, char** argv) { iconv_t cd; return iconv (cd, (const char **) 0, 0, 0, 0); } ' >> testiconv.cpp +- if test -z "`${CXX} testiconv.cpp -c 2>&1`" ; then ++ if test -z "`${CXX} ${CPPFLAGS} testiconv.cpp -c 2>&1`" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: using ICONV_CPP_CONST=\"const\"" >&5 + $as_echo "using ICONV_CPP_CONST=\"const\"" >&6; } + ICONV_CPP_CONST="const" +@@ -21232,10 +21232,10 @@ if { test -x "$ncdump"; }; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking libnetcdf version with $ncdump" >&5 $as_echo_n "checking libnetcdf version with $ncdump... " >&6; } --------------030503000404050400020006--