Fix build on ${OSVERSION} >= 504100

This commit is contained in:
Mario Sergio Fujikawa Ferreira 2005-11-22 02:16:24 +00:00
parent 4fc367eb78
commit b69ccc5a2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148992

View file

@ -544,6 +544,10 @@ post-patch:
.endif
post-configure:
# FreeBSD 5.4-STABLE and later have lrintf()
.if ${OSVERSION} >= 504100
@${ECHO_CMD} '#define HAVE_LRINTF' >> ${WRKSRC}/config.h
.endif
.ifdef(WITH_DTS)
@${REINPLACE_CMD} -E \
-e 's|-ldts|${LOCALBASE}/lib/libdts.a|' \