Bug 89248

Summary: [patch] autoheader run in wrong order in run-autotools rule
Product: Ports & Packages Reporter: Sean Farley <sean-freebsd>
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
file.diff none

Description Sean Farley 2005-11-18 18:50:26 UTC
Within the run-autotools rule in ports, autoheader is run after automake
and autoconf.  If a port needs to run all four auto* tools, then it will
(at least for me) fail.

Fix: Just place autoheader before automake in the run-autotools rule.

------------------------------------------
How-To-Repeat: Run make configure on a port that only has a configure.ac and
Makefile.am.  The output I get:

configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
common/b5c/Makefile.am: installing `./depcomp'
configure.ac:20: installing `./config.guess'
configure.ac:20: installing `./config.sub'
configure.ac:4: required file `config.h.in' not found

autoheader is the one creating the config.h.in.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-11-18 21:59:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ade

Over to maintainer for evaluation.
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2005-11-18 23:22:28 UTC
State Changed
From-To: open->feedback

ports/86309 (just committed), expands on the run-autotools target to 
allow the order to be overridden.  Can you see if this helps. 

I'm certainly willing to consider changing the default order as you 
have suggested, but that would require a full -exp run to verify there's 
no collatoral damage.
Comment 3 Ade Lovett freebsd_committer freebsd_triage 2005-12-05 22:39:44 UTC
State Changed
From-To: feedback->closed

Superseded by 89999