From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 2 14:50:02 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 0360829D for ; Fri, 2 May 2014 14:50:02 +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 D09F81075 for ; Fri, 2 May 2014 14:50:01 +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 s42Eo1pc035665 for ; Fri, 2 May 2014 14:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s42Eo1Sa035664; Fri, 2 May 2014 14:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 2 May 2014 14:50:01 GMT Resent-Message-Id: <201405021450.s42Eo1Sa035664@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, Tijl Coosemans 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 66FC8D59 for ; Fri, 2 May 2014 14:42:08 +0000 (UTC) Received: from mailrelay007.isp.belgacom.be (mailrelay007.isp.belgacom.be [195.238.6.173]) by mx1.freebsd.org (Postfix) with ESMTP id F3F8C1FB9 for ; Fri, 2 May 2014 14:42:07 +0000 (UTC) Received: from 89.166-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.166.89]) by relay.skynet.be with ESMTP; 02 May 2014 16:42:00 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.8/8.14.8) with ESMTP id s42EfwFj018467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 2 May 2014 16:41:58 +0200 (CEST) (envelope-from tijl@kalimero.tijl.coosemans.org) Received: (from tijl@localhost) by kalimero.tijl.coosemans.org (8.14.8/8.14.8/Submit) id s42EfwIq018466; Fri, 2 May 2014 16:41:58 +0200 (CEST) (envelope-from tijl) Message-Id: <201405021441.s42EfwIq018466@kalimero.tijl.coosemans.org> Date: Fri, 2 May 2014 16:41:58 +0200 (CEST) From: Tijl Coosemans To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/189243: [exp-run] Mk/bsd.autotools.mk: fix running order X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Tijl Coosemans List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2014 14:50:02 -0000 >Number: 189243 >Category: ports >Synopsis: [exp-run] Mk/bsd.autotools.mk: fix running order >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 02 14:50:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Tijl Coosemans >Release: FreeBSD 11.0-CURRENT i386 >Organization: >Environment: >Description: The attached patch changes the order in which various autotools are executed to match what autoreconf does. The order used by autoreconf is: libtoolize, aclocal, autoconf, autoheader, automake. This should allow removing custom pre-configure and run-autotools targets that some ports have. The patch also sets default LIBTOOLIZE_ARGS: -i: install missing files. -c: copy files instead of linking them. This is needed for USES=libtool to be able to patch them. -f: force replacement of existing files. This ensures all files belong to the same version. These should work for most if not all ports. >How-To-Repeat: >Fix: --- bsd.autotools.mk.patch begins here --- Index: Mk/bsd.autotools.mk =================================================================== --- Mk/bsd.autotools.mk (revision 352745) +++ Mk/bsd.autotools.mk (working copy) @@ -308,6 +308,8 @@ LIBTOOLFILES?= aclocal.m4 LIBTOOLFILES?= ${CONFIGURE_SCRIPT} . endif +LIBTOOLIZE_ARGS?= -i -c -f + LIBTOOL_DEPENDS= libtool>=2.4:${PORTSDIR}/${LIBTOOL_PORT} BUILD_DEPENDS+= ${LIBTOOL_DEPENDS} .endif @@ -329,15 +331,13 @@ ${var:U}_ENV+= ${AUTOTOOLS_VARS} #--------------------------------------------------------------------------- .if !target(run-autotools) -.ORDER: run-autotools run-autotools-aclocal \ - patch-autotools-libtool run-autotools-autoheader \ - run-autotools-libtoolize run-autotools-autoconf \ - run-autotools-automake +.ORDER: run-autotools run-autotools-libtoolize run-autotools-aclocal \ + patch-autotools-libtool run-autotools-autoconf \ + run-autotools-autoheader run-autotools-automake -run-autotools:: run-autotools-aclocal \ - patch-autotools-libtool run-autotools-autoheader \ - run-autotools-libtoolize run-autotools-autoconf \ - run-autotools-automake +run-autotools:: run-autotools-libtoolize run-autotools-aclocal \ + patch-autotools-libtool run-autotools-autoconf \ + run-autotools-autoheader run-autotools-automake .endif .if !target(run-autotools-aclocal) --- bsd.autotools.mk.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: