1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- fix build under gcc 3.3

- respect CC/CFLAGS

PR:		52013
Submitted by:	maintainer
This commit is contained in:
Pete Fritchman 2003-05-19 01:48:33 +00:00
parent 690764f0e2
commit 2fa167da9b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81325

View File

@ -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}