Bug 86309 - Mk/bsd.autotools.mk: split run-autotools: into sub-targets.
Summary: Mk/bsd.autotools.mk: split run-autotools: into sub-targets.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ade Lovett
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-18 21:50 UTC by Thierry Thomas
Modified: 2005-11-18 23:22 UTC (History)
0 users

See Also:


Attachments
bsd.autotools.mk.diff (1.30 KB, patch)
2005-09-18 21:50 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.