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:
parent
b2e16f619c
commit
d922455054
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235960
@ -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
|
||||
|
10
emulators/virtualbox-ose-kmod-legacy/files/patch-glloader.py
Normal file
10
emulators/virtualbox-ose-kmod-legacy/files/patch-glloader.py
Normal 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 );
|
@ -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
|
||||
|
@ -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
|
||||
|
10
emulators/virtualbox-ose-kmod/files/patch-glloader.py
Normal file
10
emulators/virtualbox-ose-kmod/files/patch-glloader.py
Normal 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 );
|
@ -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
|
||||
|
@ -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
|
||||
|
10
emulators/virtualbox-ose-legacy/files/patch-glloader.py
Normal file
10
emulators/virtualbox-ose-legacy/files/patch-glloader.py
Normal 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 );
|
@ -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
|
||||
|
@ -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
|
||||
|
10
emulators/virtualbox-ose/files/patch-glloader.py
Normal file
10
emulators/virtualbox-ose/files/patch-glloader.py
Normal 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 );
|
@ -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
|
||||
|
@ -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
|
||||
|
10
emulators/virtualbox/files/patch-glloader.py
Normal file
10
emulators/virtualbox/files/patch-glloader.py
Normal 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 );
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user