Use OSVERSION rather than slower exists check
PR: ports/169585 Approved by: maintainer timeout (anchie, >2w)
This commit is contained in:
parent
70b1768d9c
commit
9401b0a73a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301026
@ -21,7 +21,9 @@ SUB_FILES= pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
PORTDOCS= README UserGuide.pdf
|
||||
|
||||
.if !exists(/usr/include/netinet6/send.h)
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 900042
|
||||
IGNORE= is supported only on 9.0 and later
|
||||
.endif
|
||||
|
||||
@ -42,4 +44,4 @@ post-install:
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user