diff options
author | Thomas Moestl <tmm@FreeBSD.org> | 2003-11-25 00:26:53 +0000 |
---|---|---|
committer | Thomas Moestl <tmm@FreeBSD.org> | 2003-11-25 00:26:53 +0000 |
commit | 60ce3e022ec76b00a9ebedc561c29e5a54d8d8f3 (patch) | |
tree | 66dc94b99e5e8a9bb8c92ad25351bfd211485a0b /graphics/netpbm | |
parent | Fix build on -CURRENT. (diff) |
Compile with -O0 on sparc64 to work around an internal compiler error.
Approved by: kris
Diffstat (limited to 'graphics/netpbm')
-rw-r--r-- | graphics/netpbm/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index 25bfb2e47e8d..be748cd56e4f 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -32,6 +32,13 @@ NO_CDROM= "Not allowed to sell" MAN1= netpbm.1 +.include <bsd.port.pre.mk> + +.if ${ARCH} == "sparc64" +# -O causes an ICE in converter/other/exif.c with gcc 3.3.3 on sparc64. +CFLAGS+= -O0 +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ s|%%LOCALBASE%%|${LOCALBASE}|g ; \ @@ -48,4 +55,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/doc/USERDOC ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/netpbm.1 ${MANPREFIX}/man/man1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> |