diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2010-02-25 10:05:21 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2010-02-25 10:05:21 +0000 |
commit | bfb3284e97a64bb42ec920dcd05256a1a2d64fe3 (patch) | |
tree | 8f6cac8d6eab889e87e0610c5920b773900f679d /x11-wm/wmii | |
parent | bdede6397c3828195fa2cc36fbac15e62f917514 (diff) | |
download | ports-bfb3284e97a64bb42ec920dcd05256a1a2d64fe3.tar.gz ports-bfb3284e97a64bb42ec920dcd05256a1a2d64fe3.zip |
Notes
Diffstat (limited to 'x11-wm/wmii')
-rw-r--r-- | x11-wm/wmii/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/x11-wm/wmii/Makefile b/x11-wm/wmii/Makefile index c986c5183f90..22b83532b9ae 100644 --- a/x11-wm/wmii/Makefile +++ b/x11-wm/wmii/Makefile @@ -41,7 +41,7 @@ MAKE_ARGS+= -DNO_UTF8 .endif .if defined(WITH_SLIM_LAYOUT_BOX) -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-slim-layout-boxes +EXTRA_PATCHES= ${FILESDIR}/extra-patch-slim-layout-boxes .endif post-patch: .SILENT @@ -55,11 +55,10 @@ post-patch: .SILENT # Make actual compile/link commands appear in the build log ${REINPLACE_CMD} -e 's|^COMPILE=|& noisycc=yes| ; \ s|^LINK=|& noisycc=yes|' ${WRKSRC}/mk/hdr.mk +# Fix brain-damaged piece of code; otherwise it breaks on archs where +# `size_t' is not 32-bit unsigned integer (e.g. amd64, sparc64) + ${REINPLACE_CMD} -e '/wmii_strlcat/d' ${WRKSRC}/include/util.h + ${REINPLACE_CMD} -e 's|strlcat|wmii_&|' ${WRKSRC}/include/util.h \ + ${WRKSRC}/cmd/util.c ${WRKSRC}/cmd/wmii/client.c -.include <bsd.port.pre.mk> - -.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" -BROKEN= Does not compile on amd64 or sparc64 -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |