aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2003-01-21 16:08:26 +0800
committerobraun <obraun@FreeBSD.org>2003-01-21 16:08:26 +0800
commit8800e1bb21bfdff77ed1402662ce73b91b4c988f (patch)
treece697cb7b9994086ccac23dfa8030a39365ccd47 /x11
parente9d0c0f71f76c1ff0d40bd50deef4a370cc3c858 (diff)
downloadfreebsd-ports-graphics-8800e1bb21bfdff77ed1402662ce73b91b4c988f.tar.gz
freebsd-ports-graphics-8800e1bb21bfdff77ed1402662ce73b91b4c988f.tar.zst
freebsd-ports-graphics-8800e1bb21bfdff77ed1402662ce73b91b4c988f.zip
Fix build on -current.
Pointed out by: kris Approved by: maintainer
Diffstat (limited to 'x11')
-rw-r--r--x11/fbdesk/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/x11/fbdesk/Makefile b/x11/fbdesk/Makefile
index 6986ecc8f91..4a767988d4e 100644
--- a/x11/fbdesk/Makefile
+++ b/x11/fbdesk/Makefile
@@ -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>