mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
de8a30b7f5
penv - 'program environment' or 'ports environment' - is a simple utility that executes a given command after setting some environment variables corresponding to the current directory. This makes it much easier to keep persistent environment settings for building the same ports over and over again. For example, the following series of commands: $ echo cp1251 > /var/db/penv/databases/mysql323-server/WITH_CHARSET $ echo all > /var/db/penv/databases/mysql323-server/WITH_XCHARSET ..allows a simple way to build the MySQL-3.23 server with the same character set configuration every time by doing: [root@ringworld:/usr/ports/databases/mysql323-server]# penv make For more information, see the penv.1 manual page and the sample configuration file in the penv distribution.
2 lines
62 B
Plaintext
2 lines
62 B
Plaintext
Set the environment accoring to the current working directory
|