diff options
author | Juergen Lock <nox@FreeBSD.org> | 2009-06-15 21:40:56 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2009-06-15 21:40:56 +0000 |
commit | d922455054cdd03a7de1773628eb7093decf7d63 (patch) | |
tree | fb47b102d89841a1cf43e0f0f85ed2d42ee9c5a7 /emulators/virtualbox | |
parent | b2e16f619c1cad63c2309671c6a18202c5e7e56d (diff) | |
download | ports-d922455054cdd03a7de1773628eb7093decf7d63.tar.gz ports-d922455054cdd03a7de1773628eb7093decf7d63.zip |
Notes
Diffstat (limited to 'emulators/virtualbox')
-rw-r--r-- | emulators/virtualbox/Makefile | 5 | ||||
-rw-r--r-- | emulators/virtualbox/files/patch-glloader.py | 10 | ||||
-rw-r--r-- | emulators/virtualbox/pkg-plist | 1 |
3 files changed, 14 insertions, 2 deletions
diff --git a/emulators/virtualbox/Makefile b/emulators/virtualbox/Makefile index fdfff566ad3e..8637e8118387 100644 --- a/emulators/virtualbox/Makefile +++ b/emulators/virtualbox/Makefile @@ -7,6 +7,7 @@ PORTNAME= virtualbox DISTVERSION= 2.2.51.r20457 +PORTREVISION= 1 CATEGORIES= emulators kld MASTER_SITES= http://tmp.chruetertee.ch/ \ http://freebsd.unixfreunde.de/sources/ \ @@ -61,7 +62,7 @@ OPTIONS= QT4 "Build with QT4 Frontend" on \ .include <bsd.port.options.mk> KMODDIR= /boot/modules -PLIST_SUB+= KMODDIR=${KMODDIR} +PLIST_SUB+= KMODDIR=${KMODDIR:C,^/,,} KMK_BUILDTYPE= release KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys KMK_FLAGS= @@ -157,7 +158,7 @@ do-install: (cd ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin && ${COPYTREE_SHARE} "*.so *.gc *.r0 components" ${PREFIX}/lib/virtualbox) ${MKDIR} ${PREFIX}/bin -.for f in VBoxManage VBoxNetDHCP VBoxSVC VBoxXPCOMIPCD ${VBOX_FRONTENDS} +.for f in VBoxManage VBoxNetDHCP VBoxSVC VBoxXPCOMIPCD ${VBOX_FRONTENDS} VBoxTestOGL ${INSTALL_PROGRAM} ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/$f ${PREFIX}/lib/virtualbox/ ${LN} -sf ${PREFIX}/lib/virtualbox/${f} ${PREFIX}/bin/ .endfor diff --git a/emulators/virtualbox/files/patch-glloader.py b/emulators/virtualbox/files/patch-glloader.py new file mode 100644 index 000000000000..f57aee697ad8 --- /dev/null +++ b/emulators/virtualbox/files/patch-glloader.py @@ -0,0 +1,10 @@ +Index: src/VBox/GuestHost/OpenGL/spu_loader/glloader.py +@@ -149,7 +149,7 @@ + }*/ + #endif + } +-#if !defined(__linux__) && !defined(SunOS) ++#if !defined(__linux__) && !defined(SunOS) && !defined(__FreeBSD__) + crStrcat( system_path, "/" ); + #endif + crStrcat( system_path, lib ); diff --git a/emulators/virtualbox/pkg-plist b/emulators/virtualbox/pkg-plist index 76777e172b7e..94df89d86ee7 100644 --- a/emulators/virtualbox/pkg-plist +++ b/emulators/virtualbox/pkg-plist @@ -23,6 +23,7 @@ lib/virtualbox/VBoxOGLhosterrorspu.so lib/virtualbox/VBoxOGLrenderspu.so lib/virtualbox/VBoxPython.so lib/virtualbox/VBoxREM.so +lib/virtualbox/VBoxTestOGL %%I386%%lib/virtualbox/VBoxREM32.so %%I386%%lib/virtualbox/VBoxREM64.so lib/virtualbox/VBoxRT.so |