View | Details | Raw Unified | Return to bug 224616
Collapse All | Expand All

(-)virtualbox-ose-additions/Makefile (-1 / +7 lines)
Lines 22-28 Link Here
22
CPE_VENDOR=	oracle
22
CPE_VENDOR=	oracle
23
CPE_PRODUCT=	vm_virtualbox
23
CPE_PRODUCT=	vm_virtualbox
24
24
25
PATCHDIR=	${.CURDIR}/../${PORTNAME}/files
25
PATCHDIR=	${.CURDIR:H}/${PORTNAME}/files
26
WRKSRC=		${WRKDIR}/VirtualBox-${PORTVERSION}
26
WRKSRC=		${WRKDIR}/VirtualBox-${PORTVERSION}
27
USE_RC_SUBR=	vboxguest vboxservice
27
USE_RC_SUBR=	vboxguest vboxservice
28
USES=		compiler:c++11-lang cpe iconv kmod python:build tar:bzip2
28
USES=		compiler:c++11-lang cpe iconv kmod python:build tar:bzip2
Lines 47-55 Link Here
47
			virtualbox-ose-nox11-[0-9]*
47
			virtualbox-ose-nox11-[0-9]*
48
48
49
OPTIONS_DEFINE=	DBUS DEBUG OPENGL X11
49
OPTIONS_DEFINE=	DBUS DEBUG OPENGL X11
50
OPTIONS_DEFINE_i386=	PAE
50
OPTIONS_DEFAULT=	DBUS X11
51
OPTIONS_DEFAULT=	DBUS X11
51
OPTIONS_SUB=	yes
52
OPTIONS_SUB=	yes
52
53
54
PAE_DESC=	Build kernel modules for PAE-kernels
53
DBUS_CONFIGURE_OFF=	--disable-dbus
55
DBUS_CONFIGURE_OFF=	--disable-dbus
54
DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus
56
DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus
55
OPENGL_CONFIGURE_OFF=	--disable-opengl
57
OPENGL_CONFIGURE_OFF=	--disable-opengl
Lines 128-133 Link Here
128
.endif
130
.endif
129
.endif
131
.endif
130
132
133
.if ${PORT_OPTIONS:MPAE}
134
EXTRA_PATCHES+=	${PATCHDIR}/extrapatch-Config-PAE.kmk
135
.endif
136
131
.if ${ARCH} == "amd64"
137
.if ${ARCH} == "amd64"
132
.if !exists(/usr/lib32/libc.so)
138
.if !exists(/usr/lib32/libc.so)
133
pre-everything::
139
pre-everything::
(-)virtualbox-ose/files/extrapatch-Config-PAE.kmk (+8 lines)
Line 0 Link Here
1
--- Config.kmk	2018-01-15 09:49:37.000000000 -0500
2
+++ Config.kmk	2018-02-16 13:21:08.560322000 -0500
3
@@ -4738,4 +4738,5 @@
4
 TEMPLATE_VBOXR3EXE_LDFLAGS            += -fno-pic
5
  else if1of ($(KBUILD_TARGET), freebsd openbsd)
6
+DEFS+= PAE
7
 TEMPLATE_VBOXR3EXE_TOOL                = GXX3
8
 TEMPLATE_VBOXR3EXE_LIBS                = pthread

Return to bug 224616