aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2010-07-02 19:06:27 +0800
committerbeat <beat@FreeBSD.org>2010-07-02 19:06:27 +0800
commit31fbbc9624940f1c0ac79fea8d2b7e339e0ecc28 (patch)
tree29e9f85437541a683dbe68526c77ad1d4982ee39
parent021c5c15d88862bdcb0c22217a36c69d68a0f4d2 (diff)
downloadfreebsd-ports-gnome-31fbbc9624940f1c0ac79fea8d2b7e339e0ecc28.tar.gz
freebsd-ports-gnome-31fbbc9624940f1c0ac79fea8d2b7e339e0ecc28.tar.zst
freebsd-ports-gnome-31fbbc9624940f1c0ac79fea8d2b7e339e0ecc28.zip
- Fix build with X11 support disabled
PR: ports/148263 Reported by: Vivek Khera <vivek AT khera.org> Feature safe: yes
-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 000000000000..e7c139a307ac
--- /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
+