diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/linux_dvbwrapper-kmod/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/linux_dvbwrapper-kmod/Makefile b/multimedia/linux_dvbwrapper-kmod/Makefile index 47e03abfdaf7..53a21ab32c36 100644 --- a/multimedia/linux_dvbwrapper-kmod/Makefile +++ b/multimedia/linux_dvbwrapper-kmod/Makefile @@ -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> |