Two ways to achieve that. One is by adding those options to a
make.conf so they're always applied when building. The other is by running
poudriere options
and setting them that way (those options are kept in specific directories linked to the ports and jail names).
Code:
root@molly:/usr/local/etc/poudriere.d # ll
total 166
drwxr-xr-x 316 root wheel 316 Jan 3 2021 122-release-server-options/
-rw-r--r-- 1 root wheel 1018 Jul 10 18:09 122-release-server-package.lst
drwxr-xr-x 166 root wheel 166 Jan 30 19:28 13-stable-server-options/
-rw-r--r-- 1 root wheel 834 May 3 18:11 13-stable-server-package.lst
drwxr-xr-x 340 root wheel 340 Mar 20 19:07 130-release-desktop-options/
-rw-r--r-- 1 root wheel 1152 Jul 21 01:18 130-release-desktop-package.lst
drwxr-xr-x 342 root wheel 342 Jun 21 21:21 130-release-server-options/
-rw-r--r-- 1 root wheel 1484 May 9 15:11 130-release-server-package.lst
drwxr-xr-x 2 root wheel 6 Jul 22 09:22 hooks/
drwxr-xr-x 5 root wheel 5 Jul 10 18:04 jails/
-rw-r--r-- 1 root wheel 73 Dec 24 2020 make.conf
drwxr-xr-x 5 root wheel 5 Jul 27 16:06 ports/
-rw-r--r-- 1 root wheel 20 Nov 18 2018 server-make.conf
-rwxr-xr-x 1 root wheel 388 Feb 17 09:58 up_all.sh*
I have three versions;
122-release,
130-release and
13-stable. Combined with two different option sets, a
desktop and a
server set. I know all the
desktop sets are configured exactly the same, regardless if I build for
122-release,
130-release or
13-stable version. Same deal with the
server set. Some common options, like the default MySQL version, are set in the common
make.conf.