summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose/files/patch-src-VBox-GuestHost-OpenGL-Makefile.kmk
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2014-12-23 00:05:04 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2014-12-23 00:05:04 +0000
commitb8592bbae42f3a18806729e52c0edd67bee523a9 (patch)
tree20e51abcada2a41f6b2e02be42e4c206aeab27d0 /emulators/virtualbox-ose/files/patch-src-VBox-GuestHost-OpenGL-Makefile.kmk
parent- Add LICENSE_FILE (diff)
- Reduce diff from Linux OpenGL support. Note we do not have to manually
turn off AIGLX any more. - Do not install vboxvideo.ko when OPENGL is disabled. It is only required for OpenGL support. - Install vboxvideo.ko.symbols when both DEBUG and OPENGL are enabled. - Do not try to load vboxvideo.ko if it does not exist.
Notes
Notes: svn path=/head/; revision=375294
Diffstat (limited to 'emulators/virtualbox-ose/files/patch-src-VBox-GuestHost-OpenGL-Makefile.kmk')
-rw-r--r--emulators/virtualbox-ose/files/patch-src-VBox-GuestHost-OpenGL-Makefile.kmk20
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose/files/patch-src-VBox-GuestHost-OpenGL-Makefile.kmk b/emulators/virtualbox-ose/files/patch-src-VBox-GuestHost-OpenGL-Makefile.kmk
new file mode 100644
index 000000000000..119813957bca
--- /dev/null
+++ b/emulators/virtualbox-ose/files/patch-src-VBox-GuestHost-OpenGL-Makefile.kmk
@@ -0,0 +1,20 @@
+--- src/VBox/GuestHost/OpenGL/Makefile.kmk.orig 2014-11-21 10:22:21.000000000 -0500
++++ src/VBox/GuestHost/OpenGL/Makefile.kmk 2014-12-22 17:20:31.000000000 -0500
+@@ -116,7 +116,7 @@
+ endif
+ VBoxOGLcrutil_CLEAN = \
+ $(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c
+-if1of ($(KBUILD_TARGET), linux)
++if1of ($(KBUILD_TARGET), linux freebsd)
+ VBoxOGLcrutil_LDFLAGS += -Wl,-z,nodelete
+ endif
+
+@@ -160,7 +160,7 @@
+ if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
+ VBoxOGLhostcrutil_INSTTYPE.win = both
+ endif
+-if1of ($(KBUILD_TARGET), linux)
++if1of ($(KBUILD_TARGET), linux freebsd)
+ VBoxOGLhostcrutil_LDFLAGS = $(NO_SUCH_VARIABLE)
+ endif
+ VBoxOGLhostcrutil_LDFLAGS.darwin = $(VBoxOGLcrutil_LDFLAGS.darwin) \