The table below summarizes variable specification formats, location, and scope.
Table 2–2 Package Environment Variables Summary
Variable Defined In The ... |
Variable Definition Format |
Variable Type Being Defined |
When The Variable Is Resolved |
Where The Variable Is Resolved |
The Variable May Be Used As Part Of The ... |
---|---|---|---|---|---|
pkginfo file |
PARAM=value |
Build |
Ignored at build time |
N/A |
None |
Install |
Install time |
In the pkgmap file |
owner, group, path, or link target |
||
prototype file |
!PARAM=value |
Build |
Build time |
In the prototype file and any included files |
mode, owner, group, or path |
Install |
Build time |
In the prototype file and any included files |
!search and !command commands only |
||
pkgmk command line |
PARAM=value |
Build |
Build time |
In the prototype file |
mode, owner, group, or path |
Install |
Build time |
In the prototype file |
!search command only |
||
Install time |
In the pkgmap file |
owner, group, path, or link target |