diff options
Diffstat (limited to 'biology/crimap/Makefile')
-rw-r--r-- | biology/crimap/Makefile | 8 |
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> |