summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-01-21 08:08:26 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-01-21 08:08:26 +0000
commitfd093d47241c2dfd2567f8767a830ebc210546f9 (patch)
treefa00e8458d2affb9e4daae6f8b00e8b684495774 /x11-wm
parentUpgrade to 2.3.10, and enable ipv6 by default. (diff)
Fix build on -current.
Pointed out by: kris Approved by: maintainer
Notes
Notes: svn path=/head/; revision=73710
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/fbdesk/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/x11-wm/fbdesk/Makefile b/x11-wm/fbdesk/Makefile
index 6986ecc8f91b..4a767988d4e9 100644
--- a/x11-wm/fbdesk/Makefile
+++ b/x11-wm/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>