depot/third_party/nixpkgs/pkgs/os-specific/bsd/freebsd/setup-hook.sh

13 lines
338 B
Bash
Raw Normal View History

setFreeBSDSrcTop() {
makeFlags="SRCTOP=$BSDSRCDIR $makeFlags"
}
addFreeBSDMakeFlags() {
makeFlags="SBINDIR=${!outputBin}/bin $makeFlags"
makeFlags="LIBEXECDIR=${!outputLib}/libexec $makeFlags"
makeFlags="INCLUDEDIR=${!outputDev}/include $makeFlags"
}
postUnpackHooks+=(setFreeBSDSrcTop)
preConfigureHooks+=(addFreeBSDMakeFlags)