From owner-svn-ports-head@FreeBSD.ORG Fri Sep 5 15:31:32 2014 Return-Path: Delivered-To: svn-ports-head@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 01AD2D78; Fri, 5 Sep 2014 15:31:31 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C7EF81454; Fri, 5 Sep 2014 15:31:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s85FVV0L072944; Fri, 5 Sep 2014 15:31:31 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s85FVVhV072943; Fri, 5 Sep 2014 15:31:31 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201409051531.s85FVVhV072943@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Fri, 5 Sep 2014 15:31:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367345 - 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.18-1 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, 05 Sep 2014 15:31:32 -0000 Author: tijl Date: Fri Sep 5 15:31:31 2014 New Revision: 367345 URL: http://svnweb.freebsd.org/changeset/ports/367345 QAT: https://qat.redports.org/buildarchive/r367345/ Log: After patching configure restore the original modification time. This avoids running makefile targets that depend on configure such as the PDF documentation in textproc/flex. Reported by: hrs Approved by: portmgr (bapt) Modified: head/Mk/Uses/libtool.mk Modified: head/Mk/Uses/libtool.mk ============================================================================== --- head/Mk/Uses/libtool.mk Fri Sep 5 14:45:47 2014 (r367344) +++ head/Mk/Uses/libtool.mk Fri Sep 5 15:31:31 2014 (r367345) @@ -31,14 +31,15 @@ _INCLUDE_USES_LIBTOOL_POST_MK= yes patch-libtool: @${FIND} ${WRKDIR} \( -name configure -or -name ltconfig \) \ - -type f | ${XARGS} ${REINPLACE_CMD} \ + -type f | while read i; do ${SED} -i.bak \ -e '/dragonfly\*/!s/^ *freebsd\*[ )]/dragonfly* | &/' \ -e '/gcc_dir=\\`/s/gcc /$$CC /' \ -e '/gcc_ver=\\`/s/gcc /$$CC /' \ -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/; }" + /deplibs_check_method=/s/=.*/=pass_all/; }" \ + $${i} && ${TOUCH} -mr $${i}.bak $${i}; done @${FIND} ${WRKDIR} -type f -name ltmain.sh | \ ${XARGS} ${REINPLACE_CMD} \ @@ -48,7 +49,7 @@ patch-libtool: .if ! ${libtool_ARGS:Moldver} @${FIND} ${WRKDIR} \( -name configure -or -name ltconfig \) \ - -type f | ${XARGS} ${REINPLACE_CMD} \ + -type f | while read i; do ${SED} -i.bak \ -e "/freebsd-elf\\*)/,/;;/ { \ /library_names_spec=.*\\.so/ \ s/=.*/='\$$libname\$$release.so\$$versuffix \ @@ -58,7 +59,8 @@ patch-libtool: s/=.*/='\$$libname\$$release\$$shared_ext\$$versuffix \ \$$libname\$$release\$$shared_ext\$$major \ \$$libname\$$shared_ext' \ - soname_spec='\$$libname\$$release\$$shared_ext\$$major'/; }" + soname_spec='\$$libname\$$release\$$shared_ext\$$major'/; \ + }" $${i} && ${TOUCH} -mr $${i}.bak $${i}; done @${FIND} ${WRKDIR} -type f -name ltmain.sh | \ ${XARGS} ${REINPLACE_CMD} \