diff options
author | tmm <tmm@FreeBSD.org> | 2003-11-25 08:26:53 +0800 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2003-11-25 08:26:53 +0800 |
commit | bb9e8fc75d0831bec837595280192b061226bfb7 (patch) | |
tree | 00683316df0de9abbab9d92f3858ac066f568ce3 /graphics/netpbm | |
parent | 1d556e4a158a4fdd0e657a98aadc61a743e0fccb (diff) | |
download | freebsd-ports-gnome-bb9e8fc75d0831bec837595280192b061226bfb7.tar.gz freebsd-ports-gnome-bb9e8fc75d0831bec837595280192b061226bfb7.tar.zst freebsd-ports-gnome-bb9e8fc75d0831bec837595280192b061226bfb7.zip |
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> |