(Attempt to) fix build on head.
Submitted by: pointyhat via erwin
This commit is contained in:
@@ -40,4 +40,10 @@ do-extract:
|
||||
${MKDIR} ${WRKSRC}
|
||||
${CP} ${FILESDIR}/Makefile ${FILESDIR}/*.[ch] ${WRKSRC}
|
||||
|
||||
post-patch:
|
||||
# Fix the build after fget(9) KPI was changed in r224778
|
||||
.if ${OSVERSION} > 900040
|
||||
${REINPLACE_CMD} -e '/fget/s/&fp/CAP_IOCTL, &/' ${WRKSRC}/*.c
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
Reference in New Issue
Block a user