aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/virtualbox-ose
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-03-13 08:39:55 +0800
committerjkim <jkim@FreeBSD.org>2015-03-13 08:39:55 +0800
commitc596176fc3bf07843f3c7f33f68bde2fb2662a4b (patch)
treef45300df6933ae5c1a8c714d70814efff9b2b4e0 /emulators/virtualbox-ose
parent2826dea9f282110dc1f4d930305e52ccc4eb6966 (diff)
downloadfreebsd-ports-gnome-c596176fc3bf07843f3c7f33f68bde2fb2662a4b.tar.gz
freebsd-ports-gnome-c596176fc3bf07843f3c7f33f68bde2fb2662a4b.tar.zst
freebsd-ports-gnome-c596176fc3bf07843f3c7f33f68bde2fb2662a4b.zip
VBoxSDL does not support drag and drop feature. Make it depend upon QT4.
Diffstat (limited to 'emulators/virtualbox-ose')
-rw-r--r--emulators/virtualbox-ose/Makefile8
-rw-r--r--emulators/virtualbox-ose/pkg-plist2
2 files changed, 5 insertions, 5 deletions
diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile
index adb42cc3a67c..3febf2ad43b3 100644
--- a/emulators/virtualbox-ose/Makefile
+++ b/emulators/virtualbox-ose/Makefile
@@ -155,6 +155,9 @@ USE_QT4+= gui network opengl
INSTALLS_ICONS= yes
VBOX_PROGS+= VirtualBox
VBOX_UTILS+= VBoxTestOGL
+VBOX_WITH_QT4= 1
+.else
+VBOX_WITH_QT4=
.endif
.if ${PORT_OPTIONS:MWEBSERVICE}
@@ -168,9 +171,6 @@ VBOX_UTILS+= vboxwebsrv webtest
USE_SDL= sdl
USE_XORG= xcursor xmu inputproto xinerama
VBOX_PROGS+= VBoxSDL
-VBOX_WITH_X11= 1
-.else
-VBOX_WITH_X11=
.endif
.if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE}
@@ -231,7 +231,7 @@ post-patch:
@${ECHO} 'SDK_VBOX_LIBPNG_INCS = ${PREFIX}/include/libpng' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'SDK_VBOX_LIBPNG_LIBS = png' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk
- @${ECHO} 'VBOX_WITH_DRAG_AND_DROP = ${VBOX_WITH_X11}' >> ${WRKSRC}/LocalConfig.kmk
+ @${ECHO} 'VBOX_WITH_DRAG_AND_DROP = ${VBOX_WITH_QT4}' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_X11_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk
.if ${PORT_OPTIONS:MWEBSERVICE}
@${ECHO} 'VBOX_WITH_WEBSERVICES = 1' >> ${WRKSRC}/LocalConfig.kmk
diff --git a/emulators/virtualbox-ose/pkg-plist b/emulators/virtualbox-ose/pkg-plist
index 4c929f4e24f5..9b49b1cf75c7 100644
--- a/emulators/virtualbox-ose/pkg-plist
+++ b/emulators/virtualbox-ose/pkg-plist
@@ -353,7 +353,7 @@ lib/virtualbox/VBoxDDGC.gc
lib/virtualbox/VBoxDDR0.r0
lib/virtualbox/VBoxDDU.so
%%QT4%%lib/virtualbox/VBoxDbg.so
-%%X11%%lib/virtualbox/VBoxDragAndDropSvc.so
+%%QT4%%lib/virtualbox/VBoxDragAndDropSvc.so
lib/virtualbox/VBoxEFI32.fd
lib/virtualbox/VBoxEFI64.fd
lib/virtualbox/VBoxExtPackHelperApp