mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
(Attempt to) fix build on head.
Submitted by: pointyhat via erwin
This commit is contained in:
parent
86cb35bfb6
commit
888dbbc025
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281384
1 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue