diff options
Diffstat (limited to 'emulators/kqemu-kmod/Makefile')
-rw-r--r-- | emulators/kqemu-kmod/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/emulators/kqemu-kmod/Makefile b/emulators/kqemu-kmod/Makefile index 6b56c5a57306..70b7bccfed25 100644 --- a/emulators/kqemu-kmod/Makefile +++ b/emulators/kqemu-kmod/Makefile @@ -7,8 +7,9 @@ PORTNAME= kqemu PORTVERSION= 1.3.0.p9 +PORTREVISION= 1 CATEGORIES= emulators -MASTER_SITES= http://fabrice.bellard.free.fr/qemu/ +MASTER_SITES= http://qemu.org/ PKGNAMESUFFIX= -kmod DISTNAME= ${PORTNAME}-${PORTVERSION:C/.p/pre/} DIST_SUBDIR= kqemu @@ -19,14 +20,23 @@ COMMENT= Kernel Acceralator for QEMU CPU Emulator (development version) ONLY_FOR_ARCHS= i386 amd64 NO_PACKAGE= Depends on kernel, and module not redistributable +.include <bsd.port.pre.mk> + PLIST_FILES= "include/kqemu/kqemu.h" PLIST_FILES+= "@dirrm include/kqemu" PLIST_FILES+= "@cwd /" PLIST_FILES+= ${KMODDIR:C,^/,,}/kqemu.ko +.if ${OSVERSION} >= 500000 +PLIST_FILES+= "@unexec kldxref ${KMODDIR}" +.endif MAKEFILE= Makefile.freebsd -.include <bsd.port.pre.mk> +# install where x11/nvidia-driver does also: +.if ${OSVERSION} >= 500000 +KMODDIR= /boot/modules +.endif + MAKE_ENV+= KMODDIR="${KMODDIR}" .if !exists(${SRC_BASE}/sys/Makefile) |