summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-19 01:48:33 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-19 01:48:33 +0000
commit2fa167da9b4995d67c648e5f26d0f300dded7966 (patch)
treee66d6bdf9cfbdbc8a7cdbf865834da918c864c2b /biology
parent- update to 4.0.7 (diff)
- fix build under gcc 3.3
- respect CC/CFLAGS PR: 52013 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=81325
Diffstat (limited to 'biology')
-rw-r--r--biology/crimap/Makefile9
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}