diff options
author | vs <vs@FreeBSD.org> | 2005-10-20 15:31:29 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-10-20 15:31:29 +0800 |
commit | eab0cc8cd855638bc5a831b489f912b2e87b3324 (patch) | |
tree | 42ab2966dd7d985d772e032ed5f9171a553701c9 /archivers/xdms | |
parent | aa0f8e6f6fd3e06f85291c73293c08db16f486dc (diff) | |
download | freebsd-ports-gnome-eab0cc8cd855638bc5a831b489f912b2e87b3324.tar.gz freebsd-ports-gnome-eab0cc8cd855638bc5a831b489f912b2e87b3324.tar.zst freebsd-ports-gnome-eab0cc8cd855638bc5a831b489f912b2e87b3324.zip |
Unbreak on 4.x: Replace stdint.h with inttypes.h
Approved by: marpk (maintainer)
Diffstat (limited to 'archivers/xdms')
-rw-r--r-- | archivers/xdms/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/archivers/xdms/Makefile b/archivers/xdms/Makefile index 27e39716553b..c867d19257f8 100644 --- a/archivers/xdms/Makefile +++ b/archivers/xdms/Makefile @@ -18,8 +18,13 @@ HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} ALL_TARGET= xdms +.include <bsd.port.pre.mk> + post-patch: ${REINPLACE_CMD} "s@-O3 -Wall@-Wall@g" ${WRKSRC}/src/Makefile.in +.if ( ${OSVERSION} < 500000 ) + ${REINPLACE_CMD} 's/stdint.h/inttypes.h/' ${WRKSRC}/src/cdata.h +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/xdms ${PREFIX}/bin @@ -28,4 +33,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/xdms.txt ${PREFIX}/share/doc/xdms .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |