From 1d0f167ffacc64cb1b2c955d4ef41b26018f7231 Mon Sep 17 00:00:00 2001 From: decke Date: Thu, 30 Sep 2010 12:51:00 +0000 Subject: - Add 2D acceleration support for Windows Guests - Bump PORTREVISION Submitted by: scf Approved by: beat (co-mentor) --- emulators/virtualbox-ose-legacy/Makefile | 2 ++ .../patch-src-VBox-Frontends-VirtualBox-Makefile.kmk | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk (limited to 'emulators/virtualbox-ose-legacy') 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 -- cgit