Bug 94043

Summary: [patch] bsd.autotools.mk: aclocal can't find libtool macros
Product: Ports & Packages Reporter: Dmitry Frolov <frolov>
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 Dmitry Frolov 2006-03-03 06:40:06 UTC
aclocal from devel/automake19 fails to find libtool macros if
both aclocal and libtool used in port's Makefile.  That's because
aclocal searches for macros (according to bsd.autotools.mk) in
${LOCALBASE}/share/aclocal${AUTOMAKE_VERSION} dir but devel/libtool*
ports install their aclocal macros into ${LOCALBASE}/share/aclocal dir.

Fix: One of the possible fixes (patch against bsd.autotools.mk rev 1.23):
How-To-Repeat: 
frol@nerve ttypa:~/ports/sysutils/ipmitool$grep AUTO Makefile
USE_AUTOTOOLS=  autoconf:259 libtool:15 aclocal:19 automake:19

frol@nerve ttypa:~/ports/sysutils/ipmitool$make configure
===>  Vulnerability check disabled, database not found
===>  Extracting for ipmitool-1.8.6_1
[...]
===>  Configuring for ipmitool-1.8.6_1
aclocal:configure.in:38: warning: macro `AM_PROG_LIBTOOL' not found in library
configure.in:38: error: possibly undefined macro: AM_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
*** Error code 1
Comment 1 Ade Lovett freebsd_committer freebsd_triage 2006-03-03 07:11:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ade

This one is mine.
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2006-08-22 04:42:08 UTC
State Changed
From-To: open->feedback

This will be dealt with as part of the next set of major changes to 
the autotools infrastructure, involving wrapper scripts around the 
components of autoconf/automake to more seemlessly handle multiple 
versions of autotools both for building ports, and for cross-development 
outside of the ports tree.
Comment 3 Ade Lovett freebsd_committer freebsd_triage 2007-04-08 11:17:05 UTC
State Changed
From-To: feedback->analyzed

Put into a more appropriate state, given the current under-test 
reworking of autoconf/automake.
Comment 4 Ade Lovett freebsd_committer freebsd_triage 2007-07-28 07:40:28 UTC
State Changed
From-To: analyzed->feedback

The latest round of updates to autotools should have fixed this. 
Unless I hear otherwise, I'll be closing this PR 2 weeks from today 
(11th August 2007).
Comment 5 Ade Lovett freebsd_committer freebsd_triage 2007-07-31 08:43:33 UTC
State Changed
From-To: feedback->closed

Submitter email address is hard-bouncing.