diff --git a/emulators/virtio-kmod/Makefile b/emulators/virtio-kmod/Makefile index 9090ffba27af..b9329f16cbdf 100644 --- a/emulators/virtio-kmod/Makefile +++ b/emulators/virtio-kmod/Makefile @@ -24,12 +24,12 @@ PLIST_SUB= KMODDIR=${KMODDIR:C,^/,,} NEEDSUBDIRS= amd64 conf contrib dev/pci geom i386 kern net netinet netinet6 \ sys tools vm x86 +.include + .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires kernel source to be installed .endif -.include - .if ${OSREL} != "8.2" && ${OSREL} != "8.3" && ${OSREL} != "9.0" IGNORE= not supported $${OSREL} (${OSREL}) .endif