mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Add OS version check.
This commit is contained in:
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
|
@ -43,6 +43,10 @@ OPTIONS= EXPERIMENTAL "Enable experimental drivers" off
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.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"
|
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
|
||||||
PLIST_SUB+= X86=""
|
PLIST_SUB+= X86=""
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -43,6 +43,10 @@ OPTIONS= EXPERIMENTAL "Enable experimental drivers" off
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.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"
|
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
|
||||||
PLIST_SUB+= X86=""
|
PLIST_SUB+= X86=""
|
||||||
.else
|
.else
|
||||||
|
|
Loading…
Add table
Reference in a new issue