diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2003-01-21 16:08:26 +0800 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2003-01-21 16:08:26 +0800 |
commit | fd093d47241c2dfd2567f8767a830ebc210546f9 (patch) | |
tree | fa00e8458d2affb9e4daae6f8b00e8b684495774 | |
parent | 12d04a8f88adf59c364ae7dffaf8e92e18a09169 (diff) | |
download | freebsd-ports-gnome-fd093d47241c2dfd2567f8767a830ebc210546f9.tar.gz freebsd-ports-gnome-fd093d47241c2dfd2567f8767a830ebc210546f9.tar.zst freebsd-ports-gnome-fd093d47241c2dfd2567f8767a830ebc210546f9.zip |
Fix build on -current.
Pointed out by: kris
Approved by: maintainer
-rw-r--r-- | x11-wm/fbdesk/Makefile | 11 | ||||
-rw-r--r-- | x11/fbdesk/Makefile | 11 |
2 files changed, 20 insertions, 2 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> diff --git a/x11/fbdesk/Makefile b/x11/fbdesk/Makefile index 6986ecc8f91b..4a767988d4e9 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> |