On 10:57 Thu 18 Oct     , Caleb Tennis (caleb) wrote:
> 1.1                  dev-libs/libevent/libevent-1.3e.ebuild
> 
> file : 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libevent/libevent-1.3e.ebuild?rev=1.1&view=markup
> plain: 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libevent/libevent-1.3e.ebuild?rev=1.1&content-type=text/plain

> pkg_postinst() {
>       local ver="${prevver##*/}"
>       if [[ -n "${ver}" ]] && [[ ${ver//[a-zA-Z-]} != "${PV//[a-zA-Z]}" ]] ; 
> then

It isn't terribly likely to become an issue here, but it might be nicer 
to use [[:alpha:]] than [a-zA-Z].

>               ewarn
>               ewarn "You will need to run revdep-rebuild (included with 
> app-portage/gentoolkit)"
>               ewarn "to rebuild all packages that were built with 
> libevent-1.0x."
>               ewarn
>               ewarn "Run the following to see which packages will be rebuilt:"
>               ewarn "    revdep-rebuild --library ${ver}.so.1 -p"
>               ewarn
>               ewarn "If you are satisfied with the output, re-run without the 
> '-p' to rebuild."
>               ewarn
>       fi
>       unset prevver
> }

Thanks,
Donnie
-- 
[EMAIL PROTECTED] mailing list

Reply via email to