summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2010-07-02 11:06:27 +0000
committerbeat <beat@FreeBSD.org>2010-07-02 11:06:27 +0000
commit31fbbc9624940f1c0ac79fea8d2b7e339e0ecc28 (patch)
tree29e9f85437541a683dbe68526c77ad1d4982ee39 /emulators
parent021c5c15d88862bdcb0c22217a36c69d68a0f4d2 (diff)
downloadFreeBSD-ports-31fbbc9624940f1c0ac79fea8d2b7e339e0ecc28.zip
FreeBSD-ports-31fbbc9624940f1c0ac79fea8d2b7e339e0ecc28.tar.gz
- Fix build with X11 support disabled
PR: ports/148263 Reported by: Vivek Khera <vivek AT khera.org> Feature safe: yes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-common-VBoxGuestLib-Makefile.kmk18
1 files changed, 18 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-common-VBoxGuestLib-Makefile.kmk b/emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-common-VBoxGuestLib-Makefile.kmk
new file mode 100644
index 0000000..e7c139a
--- /dev/null
+++ b/emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-common-VBoxGuestLib-Makefile.kmk
@@ -0,0 +1,18 @@
+--- src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk.orig 2010-07-01 14:25:19.000000000 +0200
++++ src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk 2010-07-01 14:26:07.000000000 +0200
+@@ -136,6 +136,7 @@
+ # C library is not available.
+ #
+ ## @todo We're quite probably using the wrong template here.
++ifdef VBOX_WITH_X11_ADDITIONS
+ VBoxGuestR3LibXFree86_TEMPLATE = VBOXGUESTR3LIB
+ VBoxGuestR3LibXFree86_DEFS = \
+ VBOX_WITH_HGCM \
+@@ -159,6 +160,7 @@
+ $(VBOX_PATH_X11_XFREE_4_3)/exports/include/X11
+
+ VBoxGuestR3LibRuntimeXF86.cpp_CXXFLAGS = -Wno-shadow
++endif
+
+ include $(KBUILD_PATH)/subfooter.kmk
+
OpenPOWER on IntegriCloud