Opened 15 years ago
Closed 15 years ago
#2746 closed task (fixed)
pkg-config-0.25 needs to be patched to allow autoconf to work.
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | high | Milestone: | 6.7 | 
| Component: | Book | Version: | SVN | 
| Severity: | normal | Keywords: | |
| Cc: | 
Description (last modified by )
The pkg.m4 macro in pkg-config-0.25 causes autoconf-2.66 and newer to die.with error: possibly undefined macro: AS_MESSAGE_LOG_FDdnl
I've put the upstream fix for pkg-config in patches/ Marking as 'high' priority because we are near to release and this package is part of the base LFS.
Change History (7)
comment:1 by , 15 years ago
| Description: | modified (diff) | 
|---|
follow-up: 3 comment:2 by , 15 years ago
| Description: | modified (diff) | 
|---|
For small changes, I prefer a sed. Here we only need to add [] in two places.
How about:
{{{ sed -i -e 's/XT])dnl/XT])[]dnl/' \
-e 's/\.])dnl/.])[]dnl/' pkg.m4
}}}
I tried to combine the expression into one, but that makes it even more complicated.
follow-up: 4 comment:3 by , 15 years ago
sed -i -e 's/XT])dnl/XT])[]dnl/' \
       -e 's/\.])dnl/.])[]dnl/' pkg.m4
Let's make that look right.
comment:4 by , 15 years ago
sed -i -e 's/XT])dnl/XT])[]dnl/' \
       -e 's/\.])dnl/\.])[]dnl/' pkg.m4
A minor tweak to make things line up.
comment:5 by , 15 years ago
| Owner: | changed from to | 
|---|---|
| Status: | new → assigned | 
I've fixed this in svn revision 9370, but will leave the ticket open until we release either 6.7-rc2 or 6.7 stable.

whoops, double-pasted the error, my mouse is becoming hyperactive today.