(Attempt to) fix build on head.

Submitted by:	pointyhat via erwin
This commit is contained in:
Juergen Lock
2011-09-07 16:57:21 +00:00
parent 86cb35bfb6
commit 888dbbc025

View File

@@ -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>