1 |
I think, it'll be nice to have a way to suggest some packages to user, |
2 |
when (s)he installs something. For now it is only way to do that by |
3 |
something like: |
4 |
|
5 |
pkg_postinst() { |
6 |
if ! has_version dev-lua/iluajit; then |
7 |
einfo "You'd probably want to install dev-lua/iluajit to"; |
8 |
ewarn "get fully functional interactive shell for LuaJIT"; |
9 |
fi |
10 |
if has_version app-editors/emacs || has_version |
11 |
app-editors/xemacs; then |
12 |
einfo "You'd probably want to install app-emacs/lua-mode |
13 |
to"; |
14 |
ewarn "get Lua completion in emacs."; |
15 |
fi |
16 |
} |
17 |
|
18 |
but some people find that way annoying and some devs also thinks it is |
19 |
bad way. |
20 |
Another way (use USEflags-related PDEPs — is a bad way too). |
21 |
|
22 |
Any thoughts? :) |