anchor.diff:  
     forEachModule = action: ''
       for mod in \
  -      $sourcedir/out/linux.*/release/bin/src/vboxdrv \
  -      $sourcedir/out/linux.*/release/bin/src/vboxpci \
  -      $sourcedir/out/linux.*/release/bin/src/vboxnetadp \
  -      $sourcedir/out/linux.*/release/bin/src/vboxnetflt
  +      out/linux.*/release/bin/src/vboxdrv \
  +      out/linux.*/release/bin/src/vboxpci \
  +      out/linux.*/release/bin/src/vboxnetadp \
  +      out/linux.*/release/bin/src/vboxnetflt
       do
         if [ "x$(basename "$mod")" != xvboxdrv -a ! -e "$mod/Module.symvers" ]
         then
  -        cp -v $sourcedir/out/linux.*/release/bin/src/vboxdrv/Module.symvers \
  -              "$mod/Module.symvers"
  +        cp -v out/linux.*/release/bin/src/vboxdrv/Module.symvers \
  +          "$mod/Module.symvers"
         fi
         INSTALL_MOD_PATH="$out" INSTALL_MOD_DIR=misc \
  -      make -C "$MODULES_BUILD_DIR" "M=$mod" DEPMOD=/do_not_use_depmod ${action}
  +      make -C "$MODULES_BUILD_DIR" DEPMOD=/do_not_use_depmod \
  +        "M=\$(PWD)/$mod" ${action}
       done
     '';
   
  
positive.code:   patches = optional enableHardening ./hardened.patch;
  
    configurePhase = ''
      sourcedir="$(pwd)"
      cat >> LocalConfig.kmk <<LOCAL_CONFIG
      VBOX_WITH_TESTCASES            :=
      VBOX_WITH_TESTSUITE            :=
  
negative.code:     share="${if enableHardening then "$out/share/virtualbox" else "$libexec"}"
  
      # Install VirtualBox files
      mkdir -p "$libexec"
      find out/linux.*/release/bin -mindepth 1 -maxdepth 1 \
        -name src -o -exec cp -avt "$libexec" {} +
  
      # Install kernel modules
      ${forEachModule "modules_install"}
  