diff options
Diffstat (limited to 'biology/crimap/Makefile')
-rw-r--r-- | biology/crimap/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/biology/crimap/Makefile b/biology/crimap/Makefile index 3899c1007173..6e876cb4e8bc 100644 --- a/biology/crimap/Makefile +++ b/biology/crimap/Makefile @@ -16,13 +16,20 @@ MAINTAINER= tonym@biolateral.com.au COMMENT= Creation of multilocus linkage maps NO_WRKSUBDIR= true +USE_REINPLACE= yes PROGRAMS= crimap EXAMPLES= chr7a.gen demo.dat +EXIT_PATCH= e_ped.c get_log.c our_allo.c our_orde.c + +post-patch: +.for file in ${EXIT_PATCH} + @${REINPLACE_CMD} -e 's|exit\ *()|exit(0)|' ${WRKSRC}/${file} +.endfor do-build: cd ${WRKSRC}; \ - cc -O -o crimap *.c -lm + ${CC} ${CFLAGS} -o crimap *.c -lm do-install: .for file in ${PROGRAMS} |