mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix build on ${OSVERSION} >= 504100
This commit is contained in:
parent
4fc367eb78
commit
b69ccc5a2a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148992
1 changed files with 4 additions and 0 deletions
|
@ -544,6 +544,10 @@ post-patch:
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-configure:
|
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)
|
.ifdef(WITH_DTS)
|
||||||
@${REINPLACE_CMD} -E \
|
@${REINPLACE_CMD} -E \
|
||||||
-e 's|-ldts|${LOCALBASE}/lib/libdts.a|' \
|
-e 's|-ldts|${LOCALBASE}/lib/libdts.a|' \
|
||||||
|
|
Loading…
Add table
Reference in a new issue