diff -aurN uhso-kmod.orig/Makefile uhso-kmod/Makefile --- uhso-kmod.orig/Makefile 2010-12-02 18:07:03.345982380 +0000 +++ uhso-kmod/Makefile 2010-12-03 07:26:58.369013729 +0000 @@ -25,6 +25,12 @@ OPTIONS= UHSOCTL "Build uhsoctl tool" on \ DEBUG "Build with debug symbols" off +USE_SRC= yes +ONLY_FOR_MINVER= 800064 +ONLY_FOR_MINVER_REASON= please try comms/hso-kmod instead +ONLY_FOR_MAXVER= 800500 +ONLY_FOR_MAXVER_REASON= now available in base + SUB_FILES= pkg-message KMODDIR?= /boot/modules PLIST_SUB+= KMODDIR=${KMODDIR} @@ -34,12 +40,6 @@ .include -.if !exists(/usr/src/sys/Makefile) -IGNORE= requires kernel source files -.elif ${OSVERSION} <= 800063 -IGNORE= requires FreeBSD 8.0 or later, please try comms/hso-kmod instead -.endif - .if !defined(WITHOUT_UHSOCTL) UHSOCTL_VERSION= 20100416 DISTFILES+= uhsoctl-${UHSOCTL_VERSION}${EXTRACT_SUFX} @@ -54,16 +54,6 @@ EXTRA_PATCHES+= ${PATCHDIR}/UHSO-NODEBUG-patch-Makefile .endif -pre-fetch: -.if ${OSVERSION} >= 800501 - @${ECHO_CMD} "" - @${ECHO_CMD} "===================================================================" - @${ECHO_CMD} " Warning: the uhso driver is already available in the base system," - @${ECHO_CMD} " you may want to use this version instead of the port." - @${ECHO_CMD} "===================================================================" - @${ECHO_CMD} "" -.endif - post-patch: .if !defined(WITHOUT_UHSOCTL) .if defined(WITH_DEBUG)