Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77745 - libtool-1.5.10's portage patch breaks other OS's (bad greps)
Summary: libtool-1.5.10's portage patch breaks other OS's (bad greps)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-12 14:32 UTC by Brad House
Modified: 2005-01-12 16:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brad House 2005-01-12 14:32:52 UTC
The portage patch applied to libtool does bad things.
It explicitly calls 'grep -e', which it should be using $EGREP
instead.  This is bad for instance if you run libtoolize and
autoconf/automake on a package for distribution, and an end user
runs it on say Solaris, where /usr/bin/grep does NOT support the
-e flag (though 'egrep' does)!

Just   sed -i -e 's/grep -e/$EGREP -e/g' libtool-1.4.2-portage.patch
(note those must be single quotes and not double quotes or the
$EGREP will be evaluated instead of taken literally).

Also, it seems you run into the same snag on
1.5.2/libtool-1.5.2-libtool_m4-shared_ext.patch

-Brad
Comment 1 SpanKY gentoo-dev 2005-01-12 16:17:30 UTC
1.5.2/libtool-1.5.2-libtool_m4-shared_ext.patch is junked now

fixed files/1.4.3/libtool-1.4.2-portage.patch, thanks for the bug