Bug 2189 - antlr's config.guess is really old
Summary: antlr's config.guess is really old
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2188
  Show dependency treegraph
 
Reported: 2006-01-21 20:22 UTC by Andrew Cagney
Modified: 2006-01-21 20:26 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-01-21 20:22:34 UTC
doesn't know about ppc64: woodzltc writes:

 (prep): The old config.guess in antlr package fail on ppc64. 
replace it with the shipped config.guess.

with:

*** 170,175 ****
--- 171,179 ----
  %setup -D -q -T -c -a100
  pushd %{antlr_srcdir}
  %patch101 -p2
+ %ifarch ppc64
+ /bin/cp -f `rpm -qil automake | grep config.guess`
%{antlr_srcdir}/scripts/config.guess
+ %endif
  popd
  
  # UNPACK before any java packages, they need these macros/
Comment 1 Andrew Cagney 2006-01-21 20:26:41 UTC
Bug reported upstream (yes, it is really old); still present in 2.7.6.

Added

# frysk local: Antlr's config.* is really really old.
for i in $(find . -name config.guess -o -name config.sub) ; do
   [ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv
/usr/lib/rpm/redhat/$(basename $i) $i
done

which was lifted from `rpm --showrc`'s configure macro.

* Sat Jan 21 2006 Andrew Cagney <cagney@redhat.com> 0.0.1.2006.01.13-0.EL4.8
- For antlr, update config.guess and config.sub; problem reported by
  Wu Zhou <woodzltc@cn.ibm.com>