git: 06f66cc22183 - main - emulators/virtualbox-ose: Fix unintentional change

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Tue, 23 Nov 2021 10:08:24 UTC
The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=06f66cc221838f72984c891be3ece5f832ecf717

commit 06f66cc221838f72984c891be3ece5f832ecf717
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2021-11-23 10:06:23 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2021-11-23 10:06:23 +0000

    emulators/virtualbox-ose: Fix unintentional change
    
    AAn unintentional change slipped in a previous commit. Revert that
    part.
    
    No change in the produced packages.
    
    Fixes:          32c43c50524246
---
 emulators/virtualbox-ose/Makefile | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile
index 0b59cc614327..b2e4e297be04 100644
--- a/emulators/virtualbox-ose/Makefile
+++ b/emulators/virtualbox-ose/Makefile
@@ -234,18 +234,18 @@ PLIST_SUB+=	PYTHON_PYCDIR=/ \
 CONFIGURE_ARGS+=	--with-openssl-dir="${OPENSSLBASE}"
 .endif
 
-#pre-everything::
-#.if ${ARCH} == "amd64"
-#.if ${_ELF32} != yes
-#	@${ECHO_MSG} 'Requires 32-bit runtime support in kernel.'
-#	@${ECHO_MSG} 'Rebuild kernel with "options COMPAT_FREEBSD32" and reboot.'
-#	@${FALSE}
-#.elif !exists(/usr/lib32/libc.so)
-#	@${ECHO_MSG} 'Requires 32-bit libraries installed under /usr/lib32.'
-#	@${ECHO_MSG} 'Do: cd /usr/src; make build32 install32; service ldconfig restart'
-#	@${FALSE}
-#.endif
-#.endif
+pre-everything::
+.if ${ARCH} == "amd64"
+.if ${_ELF32} != yes
+	@${ECHO_MSG} 'Requires 32-bit runtime support in kernel.'
+	@${ECHO_MSG} 'Rebuild kernel with "options COMPAT_FREEBSD32" and reboot.'
+	@${FALSE}
+.elif !exists(/usr/lib32/libc.so)
+	@${ECHO_MSG} 'Requires 32-bit libraries installed under /usr/lib32.'
+	@${ECHO_MSG} 'Do: cd /usr/src; make build32 install32; service ldconfig restart'
+	@${FALSE}
+.endif
+.endif
 
 post-patch:
 	@${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE_ARCH = ${VBOX_DIR}' > \