1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Fix build on -current.

Pointed out by:	kris
Approved by:	maintainer
This commit is contained in:
Oliver Braun 2003-01-21 08:08:26 +00:00
parent 12d04a8f88
commit fd093d4724
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73710
2 changed files with 20 additions and 2 deletions

View File

@ -17,4 +17,13 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
USE_REINPLACE= yes
post-patch:
${REINPLACE_CMD} -e "s/inttypes\.h/stdint\.h/" \
${WRKSRC}/src/FbTk/Timer.hh
.endif
.include <bsd.port.post.mk>

View File

@ -17,4 +17,13 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
USE_REINPLACE= yes
post-patch:
${REINPLACE_CMD} -e "s/inttypes\.h/stdint\.h/" \
${WRKSRC}/src/FbTk/Timer.hh
.endif
.include <bsd.port.post.mk>