From owner-svn-ports-head@FreeBSD.ORG Fri Feb 14 22:29:06 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 7A17EF1; Fri, 14 Feb 2014 22:29:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 643B81CF7; Fri, 14 Feb 2014 22:29:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1EMT6S4066232; Fri, 14 Feb 2014 22:29:06 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1EMT6xm066231; Fri, 14 Feb 2014 22:29:06 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201402142229.s1EMT6xm066231@svn.freebsd.org> From: Tijl Coosemans Date: Fri, 14 Feb 2014 22:29:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344318 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 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: Fri, 14 Feb 2014 22:29:06 -0000 Author: tijl Date: Fri Feb 14 22:29:05 2014 New Revision: 344318 URL: http://svnweb.freebsd.org/changeset/ports/344318 QAT: https://qat.redports.org/buildarchive/r344318/ Log: - Also set link_all_deplibs_(CXX|F77|FC)=no. - In libtool 1.3 set deplibs_check_method=pass_all like it is in later versions. This avoids checking every library with file(1) to see if it's really a library and avoids some incorrect uses of expr(1) ("expr $var" instead of "expr -- $var" where $var can start with -l). The parsing of file(1) output is also tested during configure on /usr/lib/libc.so.* which doesn't exist so configure printed a big (but harmless) warning. Approved by: bapt Modified: head/Mk/Uses/libtool.mk Modified: head/Mk/Uses/libtool.mk ============================================================================== --- head/Mk/Uses/libtool.mk Fri Feb 14 21:49:15 2014 (r344317) +++ head/Mk/Uses/libtool.mk Fri Feb 14 22:29:05 2014 (r344318) @@ -19,8 +19,10 @@ _INCLUDE_USES_LIBTOOL_POST_MK= yes patch-libtool: @${FIND} ${WRKDIR} \( -name configure -or -name ltconfig \) \ -type f | ${XARGS} ${REINPLACE_CMD} \ - -e '/link_all_deplibs=/s/=unknown/=no/' \ - -e '/objformat=/s/echo aout/echo elf/' + -e '/link_all_deplibs[0-9A-Z_]*=/s/=unknown/=no/' \ + -e '/objformat=/s/echo aout/echo elf/' \ + -e "/freebsd-elf\\*)/,/;;/ { \ + /deplibs_check_method=/s/=.*/=pass_all/; }" .if ! ${libtool_ARGS:Moldver} @${FIND} ${WRKDIR} \( -name configure -or -name ltconfig \) \