ports/52013: Update port (maintainer): biology/crimap

Tony Maher tonymaher at optushome.com.au
Sat May 10 05:10:15 UTC 2003


>Number:         52013
>Category:       ports
>Synopsis:       Update port (maintainer): biology/crimap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 09 22:10:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tony Maher
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD dt.home 4.8-STABLE FreeBSD 4.8-STABLE #2: Wed Apr 16 13:00:01 EST 2003 root at dt.home:/usr/obj/usr/src/sys/DT i386


>Description:
	Bento complains when building this port.
	http://bento.freebsd.org/errorlogs/i386-5-full/crimap-2.4.log

	The port currently builds ok on 4-stable and 5-current
	but fails on bento as it was using gcc 3.3 on that run.

	Since gcc 3.3 will be introduced soon, patch it so it works
	Also make Makefile respect ${CC} and ${CFLAGS}.

	Tested with 4-stable, 5-current and 5-current gcc33

>How-To-Repeat:

>Fix:

diff -ruN crimap.orig/Makefile crimap/Makefile
--- crimap.orig/Makefile	Fri Feb 21 22:01:32 2003
+++ crimap/Makefile	Sat May 10 09:19:53 2003
@@ -16,13 +16,20 @@
 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}
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list