diff options
Diffstat (limited to 'comms/spandsp/Makefile')
-rw-r--r-- | comms/spandsp/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/comms/spandsp/Makefile b/comms/spandsp/Makefile index 923a264b13ac..648afcbc3468 100644 --- a/comms/spandsp/Makefile +++ b/comms/spandsp/Makefile @@ -31,8 +31,8 @@ INSTALLS_SHLIB= yes post-patch: @${FIND} ${WRKSRC} -name *.c | ${XARGS} ${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' -.if ${OSVERSION} < 503000 - ${TOUCH} ${WRKSRC}/src/tgmath.h -.endif +.if ${OSVERSION} < 503000 + ${ECHO} '#define lrintf(x) ((int16_t)rintf(x))' > ${WRKSRC}/src/tgmath.h +.endif .include <bsd.port.post.mk> |