Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 06:11:33 GMT
From:      Tassilo Philipp <tphilipp@potion-studios.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185655: [MAINTAINER] biology/mapm3 fix to build with clang
Message-ID:  <201401110611.s0B6BXCv040653@oldred.freebsd.org>
Resent-Message-ID: <201401110620.s0B6K08E020980@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185655
>Category:       ports
>Synopsis:       [MAINTAINER] biology/mapm3 fix to build with clang
>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:   Sat Jan 11 06:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Tassilo Philipp
>Release:        
>Organization:
>Environment:
>Description:
diff -ruN biology/mapm3.orig/Makefile biology/mapm3/Makefile
--- biology/mapm3.orig/Makefile	2014-01-10 23:16:14.000000000 -0600
+++ biology/mapm3/Makefile	2014-01-10 23:58:40.000000000 -0600
@@ -14,6 +14,9 @@
 MAINTAINER=	tphilipp@potion-studios.com
 COMMENT=	Constructs linkage maps of markers segregating in experimental crosses
 
+USE_CSTD=       gnu89   
+CFLAGS+= -Wno-return-type
+
 NO_WRKSUBDIR=	yes
 MAKE_JOBS_UNSAFE=	yes
 
diff -ruN biology/mapm3.orig/files/patch-Makefile biology/mapm3/files/patch-Makefile
--- biology/mapm3.orig/files/patch-Makefile	2014-01-10 23:51:32.000000000 -0600
+++ biology/mapm3/files/patch-Makefile	2014-01-10 23:58:40.000000000 -0600
@@ -47,7 +47,7 @@
  
 -COMPILE= cc
 -LINKALL= cc
-+COMPILE= ${CC}
++COMPILE= ${CC} ${CFLAGS}
 +LINKALL= ${CC}
  LINKLIB= ld -r
  DELETE=  rm -f

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401110611.s0B6BXCv040653>