From 46fc59f9264a53fb4f4204ae779fc8ea4cf5506a Mon Sep 17 00:00:00 2001 From: Jason Helfman Date: Sun, 1 Jul 2012 22:27:59 +0000 Subject: [PATCH] - re-order, include bsd.port.pre.mk so SRC_BASE is defined before referenced PR: ports/169213 Submitted by: jgh@ Approved by: maintainer timeout ( 14 days ) --- emulators/virtio-kmod/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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