13 Dec
2021
13 Dec
'21
11:25 p.m.
Hey, Most use env vars or sourcing of extra files during build for this kind of purpose. For env vars the only downside is that they are not preserved in chroot see: https://bugs.archlinux.org/task/44827 For linux-pf I use this and add the to the sources of the packages: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=linux-pf#n151 https://aur.archlinux.org/cgit/aur.git/tree/build_pkgs?h=linux-pf#n9 rpmbuild has some --with and --without options to do stuff like you suggest maybe something like this would be useful too. Br, Björn