freebsd-ports/emulators/virtualbox-ose/files/extrapatch-vboximg-Config.kmk
Eugene Grosbein 6c5da516ce
emulators/virtualbox-ose: add option to build vboximg-mount
Introduce new port option VBOXIMG that enables building and installing
"vboximg-mount" utility. It is not enabled by default as it needs
fusesfs-libs as another dependency.

The utility gives access to insides of VM images like .vdi files etc.
Use "vboximg-mount -g" to get access to files on internal file systems
not supported by native FreeBSD mount command. Refer to utility's
internal online help for syntax details and to original documentation:

https://docs.oracle.com/en/virtualization/virtualbox/6.0/user/vboximg-mount.html

PR:		274817
Tested by:	vvd
Approved by:	vbox (maintainer timeout over 2 weeks)
2023-11-16 18:05:42 +07:00

11 lines
499 B
Text

--- Config.kmk.orig 2023-10-12 15:43:35.000000000 +0700
+++ Config.kmk 2023-10-30 22:11:09.119922000 +0700
@@ -869,7 +869,7 @@
# windows versions (only define when buildling win.x86).
#VBOX_WITH_MORE_NT4_COMPAT_BINARIES = 1
# Set this to enable building of the vboximg-mount FUSE mounting utility.
-if1of ($(KBUILD_TARGET), darwin linux)
+if1of ($(KBUILD_TARGET), darwin freebsd linux)
VBOX_WITH_VBOXIMGMOUNT = 1
endif
# Set this to enable packaging the fuse related bits into our installer.