summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-05-26 20:38:49 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-05-26 20:38:49 +0000
commitadd90dd319be1d4e500d5a1fc89f648ef45d6af8 (patch)
tree5296c17af9e0f98777120d8d08a8bc295a1b6000 /biology
parentFix build with gcc4.2 (diff)
BROKEN with gcc 4.2
Notes
Notes: svn path=/head/; revision=191937
Diffstat (limited to 'biology')
-rw-r--r--biology/crimap/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/biology/crimap/Makefile b/biology/crimap/Makefile
index a3428748d787..beccaef2cb94 100644
--- a/biology/crimap/Makefile
+++ b/biology/crimap/Makefile
@@ -21,6 +21,12 @@ PROGRAMS= crimap
EXAMPLES= chr7a.gen demo.dat
EXIT_PATCH= e_ped.c get_log.c our_allo.c our_orde.c
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
.for file in ${EXIT_PATCH}
@${REINPLACE_CMD} -e 's|exit\ *()|exit(0)|' ${WRKSRC}/${file}
@@ -44,4 +50,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>