aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2010-12-17 11:43:12 +0800
committerlinimon <linimon@FreeBSD.org>2010-12-17 11:43:12 +0800
commit7aef1dac993cc6a8dd7f15767d5767c702b63e20 (patch)
treea8afda70abdf585dd0ea906a984e78bc395a192b
parent4695677d4bb1a54c4d240e2a119bf53b57d2adec (diff)
downloadfreebsd-ports-graphics-7aef1dac993cc6a8dd7f15767d5767c702b63e20.tar.gz
freebsd-ports-graphics-7aef1dac993cc6a8dd7f15767d5767c702b63e20.tar.zst
freebsd-ports-graphics-7aef1dac993cc6a8dd7f15767d5767c702b63e20.zip
Use the $SRC_BASE Makevar instead of hard-coding.
Hat: portmgr
-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 b73b1d36b0d..fd56bb84160 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 0f6c1a4ffc1..23d333f7e29 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