pkg-config problem

Andrew Benton b3nton at gmail.com
Fri Sep 3 11:59:28 PDT 2010


On 03/09/10 19:28, Ken Moffat wrote:
> On Fri, Sep 03, 2010 at 12:34:15PM -0500, Bruce Dubbs wrote:
>> I think we can do this with a sed instead of a patch.  There are only
>> two lines changed and they only insert a [].
>>
>>     -- Bruce
> sed -i -e '/^_PKG_TEXT/s/dnl/[]dnl/' \
>         -e '/^To get/s/dnl/[]dnl/' pkg.m4
>
> will do it, for those who dislike patching.

This is shorter:
sed -i 's/T])d/T])[]d/' pkg.m4

Andy



More information about the lfs-dev mailing list