Opened 14 years ago

Last modified 14 years ago

#2746 closed task

pkg-config-0.25 needs to be patched to allow autoconf to work. — at Version 2

Reported by: ken@… Owned by: lfs-book@…
Priority: high Milestone: 6.7
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description (last modified by bdubbs@…)

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 (2)

comment:1 by ken@…, 14 years ago

Description: modified (diff)

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

comment:2 by bdubbs@…, 14 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.

Note: See TracTickets for help on using tickets.