summaryrefslogtreecommitdiffstats
path: root/devel/bunny
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2008-02-22 10:38:40 +0000
committerehaupt <ehaupt@FreeBSD.org>2008-02-22 10:38:40 +0000
commit762561d8effa58255bdca6d8dbae780b0c1a3fc8 (patch)
tree80edf16f23a2c5cdaf99f29fd7a542f743f80dc9 /devel/bunny
parent075bca5fd52110d2fd489dda0dd300b0059b826e (diff)
downloadFreeBSD-ports-762561d8effa58255bdca6d8dbae780b0c1a3fc8.zip
FreeBSD-ports-762561d8effa58255bdca6d8dbae780b0c1a3fc8.tar.gz
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 817c9b6..6323dc5 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>
OpenPOWER on IntegriCloud