summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose-kmod-legacy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/virtualbox-ose-kmod-legacy/Makefile')
-rw-r--r--emulators/virtualbox-ose-kmod-legacy/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/emulators/virtualbox-ose-kmod-legacy/Makefile b/emulators/virtualbox-ose-kmod-legacy/Makefile
index 424fd42ee14f..15eb47c2a4a1 100644
--- a/emulators/virtualbox-ose-kmod-legacy/Makefile
+++ b/emulators/virtualbox-ose-kmod-legacy/Makefile
@@ -45,13 +45,15 @@ SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL}
WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION}
-OPTIONS_DEFINE= DEBUG VIMAGE
+OPTIONS_DEFINE= DEBUG INVARIANTS VIMAGE
OPTIONS_DEFINE_i386= PAE
OPTIONS_DEFAULT= VIMAGE
OPTIONS_SUB= yes
DEBUG_DESC= Debug symbols, additional logs and assertions
+INVARIANTS_DESC= Use if kernel is compiled with INVARIANTS option
PAE_DESC= Build kernel modules for PAE-kernels
VIMAGE_DESC= VIMAGE virtual networking support
+INVARIANTS_CFLAGS= -DINVARIANTS
.include <bsd.port.options.mk>