Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882695 - app-i18n/freewnn: replace egrep by grep -E
Summary: app-i18n/freewnn: replace egrep by grep -E
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-24 09:44 UTC by Pacho Ramos
Modified: 2024-01-16 00:04 UTC (History)
1 user (show)

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 Pacho Ramos gentoo-dev 2022-11-24 09:44:30 UTC
As currently ebuild is modifying egrep call in Makefiles, it would be a good opportiny to use grep -E instead of deprecated egrep


       sed -i \
                -e "s/egrep -v/egrep -av/" \
                PubdicPlus/Makefile.in \
                Wnn/pubdicplus/Makefile.in \
                cWnn/[ct]dic/Makefile.in \
                kWnn/kdic/Makefile.in

Thanks
Comment 1 Christopher Fore 2024-01-16 00:04:16 UTC
This seems to result in an error when replacing `egrep` with `grep -E`:

```
make[1]: *** [..//makerule.mk:277: all] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-i18n/freewnn-1.1.1_alpha23-r1/work/FreeWnn-1.1.1-a023/Wnn'
make: *** [makerule.mk:277: all] Error 1
```