1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

- Actually install VBoxTestOGL (it was built, just not installed...)

- Fix libGL.so.1 search so it isn't expected in /
- Fix packaging for vboxdrv.ko
- Bump PORTREVISION

Approved by:	vbox@ (miwi)
This commit is contained in:
Juergen Lock 2009-06-15 21:40:56 +00:00
parent b2e16f619c
commit d922455054
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235960
15 changed files with 70 additions and 10 deletions

View File

@ -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

View File

@ -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 );

View File

@ -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

View File

@ -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

View File

@ -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 );

View File

@ -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

View File

@ -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

View File

@ -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 );

View File

@ -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

View File

@ -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

View File

@ -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 );

View File

@ -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

View File

@ -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

View File

@ -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 );

View File

@ -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