View | Details | Raw Unified | Return to bug 266382 | Differences between
and this patch

Collapse All | Expand All

(-)b/emulators/virtualbox-ose/Makefile (-18 lines)
Lines 121-130 OPTIONS_DEFAULT+= PYTHON Link Here
121
CONFLICTS_INSTALL+=	virtualbox-ose
121
CONFLICTS_INSTALL+=	virtualbox-ose
122
.endif
122
.endif
123
123
124
.if ${ARCH} == "amd64"
125
_ELF32!=	kldstat -q -m elf32 && echo yes || echo no
126
.endif
127
128
.if ${PORT_OPTIONS:MDEBUG}
124
.if ${PORT_OPTIONS:MDEBUG}
129
KMK_BUILDTYPE=	debug
125
KMK_BUILDTYPE=	debug
130
KMK_FLAGS+=	BUILD_TYPE=debug
126
KMK_FLAGS+=	BUILD_TYPE=debug
Lines 235-253 PLIST_SUB+= PYTHON_PYCDIR=/ \ Link Here
235
CONFIGURE_ARGS+=	--with-openssl-dir="${OPENSSLBASE}"
231
CONFIGURE_ARGS+=	--with-openssl-dir="${OPENSSLBASE}"
236
.endif
232
.endif
237
233
238
pre-everything::
239
.if ${ARCH} == "amd64"
240
.if ${_ELF32} != yes
241
	@${ECHO_MSG} 'Requires 32-bit runtime support in kernel.'
242
	@${ECHO_MSG} 'Rebuild kernel with "options COMPAT_FREEBSD32" and reboot.'
243
	@${FALSE}
244
.elif !exists(/usr/lib32/libc.so)
245
	@${ECHO_MSG} 'Requires 32-bit libraries installed under /usr/lib32.'
246
	@${ECHO_MSG} 'Do: cd /usr/src; make build32 install32; service ldconfig restart'
247
	@${FALSE}
248
.endif
249
.endif
250
251
post-patch:
234
post-patch:
252
	@${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE_ARCH = ${VBOX_DIR}' > \
235
	@${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE_ARCH = ${VBOX_DIR}' > \
253
	    ${WRKSRC}/LocalConfig.kmk
236
	    ${WRKSRC}/LocalConfig.kmk
254
- 

Return to bug 266382