aboutsummaryrefslogtreecommitdiff
path: root/devel/bunny
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2008-02-22 10:38:40 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2008-02-22 10:38:40 +0000
commit08bb6d6d5a96673c5fe6f19f4db4cdd72282f093 (patch)
tree5d175dbae7ebca48b93049197948096cce372979 /devel/bunny
parent146e0f29f57c8eab6e569c634f2af366634d92ff (diff)
downloadports-08bb6d6d5a96673c5fe6f19f4db4cdd72282f093.tar.gz
ports-08bb6d6d5a96673c5fe6f19f4db4cdd72282f093.zip
Notes
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>