Post by axlrose;2144703
没想到还支持这样的写法,有没有关于这块文档出处介绍来学习一下
我只知道可以设置/etc/portage/bashrc添加自定义函数处理
像embedded-gentoo 里面就有这样用
man portage(5)
package.env
Per-package environment variable settings. Entries refer to environment files that are placed in the
/etc/portage/env/ directory and have the same format as make.conf(5).
Format:
- comment lines begin with # (no inline comments)
- one DEPEND atom per line followed by name(s) of environment file(s)
Example:
# use environment variables from /etc/portage/env/glibc.conf for the glibc package
sys-libs/glibc glibc.conf