aboutsummaryrefslogtreecommitdiff
path: root/comms/spandsp-devel5/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-devel5/Makefile
parente1d81e1cbdb3f247174ee1343dad013f5f48d4bb (diff)
downloadports-7dfc5ecd1b23494d5a9bbe9ce44a0c2fc3f61ce8.tar.gz
ports-7dfc5ecd1b23494d5a9bbe9ce44a0c2fc3f61ce8.zip
Fix build on 4.x. Untested due to the lack of 4.x system.
No PORTREVISION bump since it doens't change package content. Submitted by: Andriy I Pylypenko <bamby@ua.fm>
Notes
Notes: svn path=/head/; revision=168288
Diffstat (limited to 'comms/spandsp-devel5/Makefile')
-rw-r--r--comms/spandsp-devel5/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/comms/spandsp-devel5/Makefile b/comms/spandsp-devel5/Makefile
index 923a264b13ac..648afcbc3468 100644
--- a/comms/spandsp-devel5/Makefile
+++ b/comms/spandsp-devel5/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>