diff options
author | Tom Rini <tom_rini@mentor.com> | 2011-02-28 10:21:32 -0700 |
---|---|---|
committer | Steffen Sledz <sledz@dresearch.de> | 2011-03-02 08:30:26 +0100 |
commit | b46c836d03133659696d11fc5c9d3653b7bce404 (patch) | |
tree | 2ed8a05a2892aca559502babf4f58dddd6ab0fce /recipes/perl | |
parent | 7b414993bee1dae6f310ab42ea1d23d46bf3eabb (diff) | |
download | openembedded-b46c836d03133659696d11fc5c9d3653b7bce404.tar.gz |
perl: Drop grep-native from DEPENDS, update grep line
Both OS X 10.6 and FreeBSD (for some time) ship with GNU grep.
Also, we can use -l rather than passing on to cut to get the files
to mangle and put -r in with -I and -l.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/perl')
-rw-r--r-- | recipes/perl/perl_5.10.1.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes/perl/perl_5.10.1.bb b/recipes/perl/perl_5.10.1.bb index a53b157359..6c0dcb16da 100644 --- a/recipes/perl/perl_5.10.1.bb +++ b/recipes/perl/perl_5.10.1.bb @@ -3,8 +3,7 @@ HOMEPAGE = "http://www.perl.org/" SECTION = "devel/perl" LICENSE = "Artistic|GPLv1+" PRIORITY = "optional" -# We need gnugrep (for -I) -DEPENDS = "virtual/db perl-native grep-native" +DEPENDS = "virtual/db perl-native" PR = "r22" # 5.10.1 has Module::Build built-in @@ -158,7 +157,7 @@ do_configure() { esac # These are strewn all over the source tree - for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do + for foo in `grep -lrI -m1 \/usr\/include\/.*\\.h ${WORKDIR}/*` ; do echo Fixing: $foo sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo done |