aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-05-27 04:38:49 +0800
committerkris <kris@FreeBSD.org>2007-05-27 04:38:49 +0800
commit49eee82af863d42175907892f42be544e3a3ae64 (patch)
tree171523fccbb3f3713f52c39c0663b6c6c8cae5c6 /biology
parent9b5e5e76c02e2d75cbc1e07889ace8ec79a231a2 (diff)
downloadfreebsd-ports-49eee82af863d42175907892f42be544e3a3ae64.tar.gz
freebsd-ports-49eee82af863d42175907892f42be544e3a3ae64.tar.zst
freebsd-ports-49eee82af863d42175907892f42be544e3a3ae64.zip
BROKEN with gcc 4.2
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>