aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authordecke <decke@FreeBSD.org>2010-09-30 20:51:00 +0800
committerdecke <decke@FreeBSD.org>2010-09-30 20:51:00 +0800
commit1d0f167ffacc64cb1b2c955d4ef41b26018f7231 (patch)
tree89af4ded1cb119512dff06a03d8066226ced5ad9 /emulators
parented3ce327bdb756004901de6c150d1d6da83a9439 (diff)
downloadfreebsd-ports-gnome-1d0f167ffacc64cb1b2c955d4ef41b26018f7231.tar.gz
freebsd-ports-gnome-1d0f167ffacc64cb1b2c955d4ef41b26018f7231.tar.zst
freebsd-ports-gnome-1d0f167ffacc64cb1b2c955d4ef41b26018f7231.zip
- Add 2D acceleration support for Windows Guests
- Bump PORTREVISION Submitted by: scf Approved by: beat (co-mentor)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/virtualbox-ose-legacy/Makefile2
-rw-r--r--emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk19
-rw-r--r--emulators/virtualbox-ose/Makefile2
-rw-r--r--emulators/virtualbox-ose/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk19
4 files changed, 42 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile
index f568b1a13294..92f7a2523424 100644
--- a/emulators/virtualbox-ose-legacy/Makefile
+++ b/emulators/virtualbox-ose-legacy/Makefile
@@ -7,6 +7,7 @@
PORTNAME= virtualbox-ose
DISTVERSION= 3.2.8
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://tmp.chruetertee.ch/ \
http://freebsd.unixfreunde.de/sources/ \
@@ -190,6 +191,7 @@ post-patch:
@${ECHO} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_VBOXDRV = ' >> ${WRKSRC}/LocalConfig.kmk
+ @${ECHO} 'VBOX_WITH_VIDEOHWACCEL = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_NETFLT = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_NETADP = ' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_TESTCASES=' >> ${WRKSRC}/LocalConfig.kmk
diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk
new file mode 100644
index 000000000000..feb68f27c7d6
--- /dev/null
+++ b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk
@@ -0,0 +1,19 @@
+--- src/VBox/Frontends/VirtualBox/Makefile.kmk.orig 2010-08-05 06:42:45.000000000 -0500
++++ src/VBox/Frontends/VirtualBox/Makefile.kmk 2010-09-25 19:17:28.000000000 -0500
+@@ -236,6 +236,7 @@
+ VirtualBox_LIBS.win += $(PATH_SDK_WINPSDK_LIB)/Opengl32.lib
+ VirtualBox_LIBS.solaris += GL
+ VirtualBox_LIBS.linux += GL
++ VirtualBox_LIBS.freebsd += GL
+ endif
+
+ # Headers containing definitions of classes that use the Q_OBJECT macro.
+@@ -821,7 +822,7 @@
+ # App for testing GL support
+ #
+ if defined(VBOX_WITH_VIDEOHWACCEL)
+- if1of ($(KBUILD_TARGET), win linux)
++ if1of ($(KBUILD_TARGET), win linux freebsd)
+ LIBRARIES += VBoxOGL2D
+ VBoxOGL2D_TEMPLATE = VBOXR3STATIC
+ VBoxOGL2D_USES = qt4
diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile
index f568b1a13294..92f7a2523424 100644
--- a/emulators/virtualbox-ose/Makefile
+++ b/emulators/virtualbox-ose/Makefile
@@ -7,6 +7,7 @@
PORTNAME= virtualbox-ose
DISTVERSION= 3.2.8
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://tmp.chruetertee.ch/ \
http://freebsd.unixfreunde.de/sources/ \
@@ -190,6 +191,7 @@ post-patch:
@${ECHO} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_VBOXDRV = ' >> ${WRKSRC}/LocalConfig.kmk
+ @${ECHO} 'VBOX_WITH_VIDEOHWACCEL = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_NETFLT = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_NETADP = ' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_TESTCASES=' >> ${WRKSRC}/LocalConfig.kmk
diff --git a/emulators/virtualbox-ose/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk b/emulators/virtualbox-ose/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk
new file mode 100644
index 000000000000..feb68f27c7d6
--- /dev/null
+++ b/emulators/virtualbox-ose/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk
@@ -0,0 +1,19 @@
+--- src/VBox/Frontends/VirtualBox/Makefile.kmk.orig 2010-08-05 06:42:45.000000000 -0500
++++ src/VBox/Frontends/VirtualBox/Makefile.kmk 2010-09-25 19:17:28.000000000 -0500
+@@ -236,6 +236,7 @@
+ VirtualBox_LIBS.win += $(PATH_SDK_WINPSDK_LIB)/Opengl32.lib
+ VirtualBox_LIBS.solaris += GL
+ VirtualBox_LIBS.linux += GL
++ VirtualBox_LIBS.freebsd += GL
+ endif
+
+ # Headers containing definitions of classes that use the Q_OBJECT macro.
+@@ -821,7 +822,7 @@
+ # App for testing GL support
+ #
+ if defined(VBOX_WITH_VIDEOHWACCEL)
+- if1of ($(KBUILD_TARGET), win linux)
++ if1of ($(KBUILD_TARGET), win linux freebsd)
+ LIBRARIES += VBoxOGL2D
+ VBoxOGL2D_TEMPLATE = VBOXR3STATIC
+ VBoxOGL2D_USES = qt4