Add OS version check.

This commit is contained in:
Max Khon 2010-06-14 18:13:15 +00:00
parent 6c133257a2
commit 41852a73b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256532
2 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,10 @@ OPTIONS= EXPERIMENTAL "Enable experimental drivers" off
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 703000 || (${OSVERSION} >= 800000 && ${OSVERSION} < 800108)
IGNORE= requires firmware(9) support for kernel modules with hyphens
.endif
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
PLIST_SUB+= X86=""
.else

View File

@ -43,6 +43,10 @@ OPTIONS= EXPERIMENTAL "Enable experimental drivers" off
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 703000 || (${OSVERSION} >= 800000 && ${OSVERSION} < 800108)
IGNORE= requires firmware(9) support for kernel modules with hyphens
.endif
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
PLIST_SUB+= X86=""
.else