Bug 86309

Summary: Mk/bsd.autotools.mk: split run-autotools: into sub-targets.
Product: Ports & Packages Reporter: Thierry Thomas <thierry>
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
bsd.autotools.mk.diff none

Description Thierry Thomas 2005-09-18 21:50:13 UTC
	By default, the order of autotools targets is: patch-autotools
	run-autotools; This seems OK with all the ports currently in the
	tree, but there is a problem with a new submitted port:
	please see PR ports/77359 (graphics/gephex)
	<http://www.freebsd.org/cgi/query-pr.cgi?pr=77359>.

	Autotools patches old ${WRKSRC}/aclocal.m4 from distribution and
	then executes aclocal, automake and so on. But executing aclocal
	rewrites patched version of aclocal.m4, so we have aclocal.m4
	unpatched again.

	The following patch (seen with aDe and Igor Pokrovsky) allows to
	split the existing run-autotools: into sub-targets, which can be
	overwritten by the port. For example, graphics/gephex could set:

# patch aclocal.m4 after aclocal to use correct libtool
run-autotools: run-autotools-aclocal patch-autotools run-autotools-automake \
	run-autotools-autoconf run-autotools-autoheader

Fix: Please apply the following patch:
How-To-Repeat: 	Build the submitted PR ports/77359 and check wich libtool is used.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2005-09-18 21:56:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ade


Assign to maintainer (just a reminder).
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2005-11-18 23:21:53 UTC
State Changed
From-To: open->closed

Committed, with minor cleanups.