From owner-svn-ports-head@FreeBSD.ORG Sat Jul 5 20:06:44 2014 Return-Path: Delivered-To: svn-ports-head@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 2D78EE13; Sat, 5 Jul 2014 20:06:44 +0000 (UTC) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (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 02DCA2917; Sat, 5 Jul 2014 20:06:42 +0000 (UTC) Received: from [192.168.0.21] (unknown [130.255.19.191]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id C3572438EB; Sat, 5 Jul 2014 15:06:24 -0500 (CDT) Message-ID: <53B85AB1.9000609@marino.st> Date: Sat, 05 Jul 2014 22:06:09 +0200 From: John Marino Reply-To: marino@freebsd.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Tijl Coosemans , John Marino Subject: Re: svn commit: r360799 - head/graphics/gimageview/files References: <201407051858.s65Iw0a0008827@svn.freebsd.org> <20140705213710.1b6ee19a@kalimero.tijl.coosemans.org> In-Reply-To: <20140705213710.1b6ee19a@kalimero.tijl.coosemans.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2014 20:06:44 -0000 On 7/5/2014 21:37, Tijl Coosemans wrote: > On Sat, 5 Jul 2014 18:58:00 +0000 (UTC) John Marino wrote: >> Author: marino >> Date: Sat Jul 5 18:58:00 2014 >> New Revision: 360799 >> URL: http://svnweb.freebsd.org/changeset/ports/360799 >> QAT: https://qat.redports.org/buildarchive/r360799/ >> >> Log: >> graphics/gimageview: Bring in dports patch to support DragonFly >> >> Added: >> head/graphics/gimageview/files/patch-configure (contents, props changed) >> >> Added: head/graphics/gimageview/files/patch-configure >> ============================================================================== >> --- /dev/null 00:00:00 1970 (empty, because file is newly added) >> +++ head/graphics/gimageview/files/patch-configure Sat Jul 5 18:58:00 2014 (r360799) >> @@ -0,0 +1,36 @@ >> +--- configure.orig 2014-05-30 20:23:28.832450000 +0000 >> ++++ configure >> +@@ -4723,13 +4723,13 @@ darwin* | rhapsody*) >> + esac >> + ;; >> + >> +-freebsd*) >> ++dragonfly*|freebsd*) >> + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then >> + case $host_cpu in >> + i*86 ) >> + # Not sure whether the presence of OpenBSD here was a mistake. >> + # Let's accept both of them until this is cleared up. >> +- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' >> ++ lt_cv_deplibs_check_method='file_magic (FreeBSD|DragonFly|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' >> + lt_cv_file_magic_cmd=/usr/bin/file >> + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` >> + ;; >> +@@ -6990,7 +6990,7 @@ else >> + ;; >> + >> + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. >> +- freebsd*) >> ++ dragonfly*|freebsd*) >> + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' >> + hardcode_libdir_flag_spec='-R$libdir' >> + hardcode_direct=yes >> +@@ -7421,7 +7421,7 @@ freebsd1*) >> + dynamic_linker=no >> + ;; >> + >> +-freebsd*) >> ++dragonfly*|freebsd*) >> + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` >> + version_type=freebsd-$objformat >> + case $version_type in > > This should also work without patch because of USES=libtool > I've seen lots of ancient configure scripts similar to this one. Are you saying if USES+=libtool is added to the port makefile it will magically be fixed? Most of those ports don't have libtool specified. John