aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--comms/hso-kmod/Makefile2
-rw-r--r--comms/uhso-kmod/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/comms/hso-kmod/Makefile b/comms/hso-kmod/Makefile
index b73b1d36b0dd..fd56bb841606 100644
--- a/comms/hso-kmod/Makefile
+++ b/comms/hso-kmod/Makefile
@@ -57,7 +57,7 @@ PLIST_SUB+= PL_DEVD="@comment "
EXTRA_PATCHES+= ${PATCHDIR}/HSO-DEBUG-patch-Makefile
.endif
-.if !exists(/usr/src/sys/Makefile)
+.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires kernel source files
.elif ${OSVERSION} < 700055
IGNORE= requires FreeBSD 7.0 or superior
diff --git a/comms/uhso-kmod/Makefile b/comms/uhso-kmod/Makefile
index 0f6c1a4ffc1c..23d333f7e299 100644
--- a/comms/uhso-kmod/Makefile
+++ b/comms/uhso-kmod/Makefile
@@ -34,7 +34,7 @@ MAN4= uhso.4
.include <bsd.port.pre.mk>
-.if !exists(/usr/src/sys/Makefile)
+.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires kernel source files
.elif ${OSVERSION} <= 800063
IGNORE= requires FreeBSD 8.0 or later, please try comms/hso-kmod instead