aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bunny
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2008-02-22 18:38:40 +0800
committerehaupt <ehaupt@FreeBSD.org>2008-02-22 18:38:40 +0800
commit762561d8effa58255bdca6d8dbae780b0c1a3fc8 (patch)
tree80edf16f23a2c5cdaf99f29fd7a542f743f80dc9 /devel/bunny
parent075bca5fd52110d2fd489dda0dd300b0059b826e (diff)
downloadfreebsd-ports-gnome-762561d8effa58255bdca6d8dbae780b0c1a3fc8.tar.gz
freebsd-ports-gnome-762561d8effa58255bdca6d8dbae780b0c1a3fc8.tar.zst
freebsd-ports-gnome-762561d8effa58255bdca6d8dbae780b0c1a3fc8.zip
Turn off default compiler optimization for sparc64.
Diffstat (limited to 'devel/bunny')
-rw-r--r--devel/bunny/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/bunny/Makefile b/devel/bunny/Makefile
index 817c9b67489b..6323dc53ee77 100644
--- a/devel/bunny/Makefile
+++ b/devel/bunny/Makefile
@@ -22,6 +22,13 @@ PORTDOCS= README
PLIST_FILES= bin/bunny-trace bin/bunny-gcc bin/bunny-flow bin/bunny-exec \
bin/bunny-main
+.include <bsd.port.pre.mk>
+
+# attempt to fix build on sparc64
+.if ${ARCH} == "sparc64"
+CFLAGS+= -O0
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/${MAKEFILE}
@@ -35,4 +42,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>