1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

Forgot to commit this port in the previous USES=kmod conversion.

This commit is contained in:
Rene Ladan 2013-11-09 19:20:29 +00:00
parent 030137bb09
commit 35ea50fc9d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333331
2 changed files with 3 additions and 14 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= virtualbox-ose
DISTVERSION= 4.1.24
CATEGORIES= emulators kld
CATEGORIES= emulators
MASTER_SITES= http://download.virtualbox.org/virtualbox/${DISTVERSION}/ \
http://tmp.chruetertee.ch/ \
http://disasterarea.chruetertee.ch/
@ -40,13 +40,10 @@ OPTIONS_DEFINE= DEBUG VIMAGE
VIMAGE_DESC= VIMAGE virtual networking support
NO_STAGE= yes
USES= kmod
.include <bsd.port.options.mk>
PLIST_SUB+= KMODDIR=${KMODDIR:C,^/,,}
KMODDIR= /boot/modules
SRC_BASE?= /usr/src
VBOX_BIN= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/src
KMK_BUILDTYPE= release
@ -70,10 +67,6 @@ KMK_ARCH= freebsd.x86
KMK_ARCH= freebsd.${ARCH}
.endif
.if !exists(${SRC_BASE}/sys/kern/bus_if.m)
IGNORE= requires kernel sources
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 802000
@ -106,7 +99,6 @@ do-build:
cd ${VBOX_BIN} && make ${MAKE_FLAGS}
do-install:
${MKDIR} ${KMODDIR}
${INSTALL_KLD} ${VBOX_BIN}/vboxdrv/vboxdrv.ko ${KMODDIR}
${INSTALL_KLD} ${VBOX_BIN}/vboxnetadp/vboxnetadp.ko ${KMODDIR}
${INSTALL_KLD} ${VBOX_BIN}/vboxnetflt/vboxnetflt.ko ${KMODDIR}
@ -115,6 +107,5 @@ do-install:
${INSTALL_KLD} ${VBOX_BIN}/vboxnetadp/vboxnetadp.ko.symbols ${KMODDIR}
${INSTALL_KLD} ${VBOX_BIN}/vboxnetflt/vboxnetflt.ko.symbols ${KMODDIR}
.endif
@/usr/sbin/kldxref ${KMODDIR}
.include <bsd.port.post.mk>

View File

@ -6,5 +6,3 @@
%%WITH_DEBUG%%%%KMODDIR%%/vboxnetadp.ko.symbols
%%KMODDIR%%/vboxnetflt.ko
%%WITH_DEBUG%%%%KMODDIR%%/vboxnetflt.ko.symbols
@exec /usr/sbin/kldxref /%%KMODDIR%%
@unexec /usr/sbin/kldxref /%%KMODDIR%%