diff options
author | Rene Ladan <rene@FreeBSD.org> | 2013-11-09 19:20:29 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2013-11-09 19:20:29 +0000 |
commit | 35ea50fc9d6bf2f16033ceeda654a22de6468f9e (patch) | |
tree | 05d0389f8f96e63138f80783b584d4c7a751956f /emulators/virtualbox-ose-kmod-legacy | |
parent | 030137bb0992674dc0f705c0f881414aa8bd37b9 (diff) | |
download | freebsd-ports-35ea50fc9d6bf2f16033ceeda654a22de6468f9e.zip |
Forgot to commit this port in the previous USES=kmod conversion.
Diffstat (limited to 'emulators/virtualbox-ose-kmod-legacy')
-rw-r--r-- | emulators/virtualbox-ose-kmod-legacy/Makefile | 15 | ||||
-rw-r--r-- | emulators/virtualbox-ose-kmod-legacy/pkg-plist | 2 |
2 files changed, 3 insertions, 14 deletions
diff --git a/emulators/virtualbox-ose-kmod-legacy/Makefile b/emulators/virtualbox-ose-kmod-legacy/Makefile index 21f8ca3f09d8..8d0834ee700d 100644 --- a/emulators/virtualbox-ose-kmod-legacy/Makefile +++ b/emulators/virtualbox-ose-kmod-legacy/Makefile @@ -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,12 +40,9 @@ OPTIONS_DEFINE= DEBUG VIMAGE VIMAGE_DESC= VIMAGE virtual networking support NO_STAGE= yes -.include <bsd.port.options.mk> - -PLIST_SUB+= KMODDIR=${KMODDIR:C,^/,,} -KMODDIR= /boot/modules -SRC_BASE?= /usr/src +USES= kmod +.include <bsd.port.options.mk> VBOX_BIN= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/src @@ -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> diff --git a/emulators/virtualbox-ose-kmod-legacy/pkg-plist b/emulators/virtualbox-ose-kmod-legacy/pkg-plist index 83a55bedda50..06b3e6744ea6 100644 --- a/emulators/virtualbox-ose-kmod-legacy/pkg-plist +++ b/emulators/virtualbox-ose-kmod-legacy/pkg-plist @@ -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%% |