Bug 89670

Summary: [patch] Automake 1.9 not detecting cppunit
Product: Ports & Packages Reporter: Geoff Glasson <g_glasson>
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Geoff Glasson 2005-11-28 13:30:02 UTC
             The tools used by automake19 only look for configuration macros in /usr/local/share/aclocal19, however ports such as CppUnit install their auto-configuration macros in /usr/local/share/aclocal and they are not visible to the automake 1.9 toolset.

To fix this, the aclocal program supplied with Automake 1.9 must be patched in order to search /usr/local/share/aclocal, allowing ports such as CppUnit to be usable by GNU configured programs on FreeBSD.

A proposed patch is attached.

Fix: 

local (@dirlist) = parse_arguments (@ARGV);
+ push @dirlist, '@datadir@/aclocal';
  $configure_ac = require_configure_ac;
  scan_m4_files (@dirlist);
  scan_configure;--EV00Shh7HRbxliDacYA8TPMMQj6gVyz52oSCPLmSLj7e52jT
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

*** /tmp/aclocal.in.orig        Thu Nov 10 20:34:45 2005
--- aclocal.in  Thu Nov 10 20:35:33 2005
***************
*** 666,671 ****
--- 666,672 ----
  ################################################################
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-11-28 18:29:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ade

Over to maintainer.
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2007-04-08 11:16:13 UTC
State Changed
From-To: open->analyzed

Will be addressed as part of an impending update to the autoconf/automake 
infrastructure, currently under test.
Comment 3 Ade Lovett freebsd_committer freebsd_triage 2007-07-28 07:40:11 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 4 Ade Lovett freebsd_committer freebsd_triage 2007-08-11 23:44:26 UTC
State Changed
From-To: feedback->closed

As promised, close on a 2-week timeout working on the basis that 
recent major updates to the autotools systems have now resolved the problem.