aboutsummaryrefslogtreecommitdiff
path: root/comms/spandsp/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-07-20 00:19:08 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-07-20 00:19:08 +0000
commit7dfc5ecd1b23494d5a9bbe9ce44a0c2fc3f61ce8 (patch)
tree53016095da7a7242d145085c9479693889fe3c3a /comms/spandsp/Makefile
parente1d81e1cbdb3f247174ee1343dad013f5f48d4bb (diff)
downloadports-7dfc5ecd1b23494d5a9bbe9ce44a0c2fc3f61ce8.tar.gz
ports-7dfc5ecd1b23494d5a9bbe9ce44a0c2fc3f61ce8.zip
Notes
Diffstat (limited to 'comms/spandsp/Makefile')
-rw-r--r--comms/spandsp/Makefile6
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>