Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2020 11:30:40 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r547531 - branches/2020Q3/biology/mapm3
Message-ID:  <202009041130.084BUe9V042246@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Fri Sep  4 11:30:40 2020
New Revision: 547531
URL: https://svnweb.freebsd.org/changeset/ports/547531

Log:
  MFH: r547530
  
  biology/mapm3: Fix build with llvm11, gcc10
  
  Another instance of -fno-common issue.
  
  While here:
  
   * strip executables
   * add license
  
  PR:	249077
  Submitted by:	tphilipp@potion-studios.com (maintainer)
  
  Approved by:	ports-secteam (blanket, build fix, -fno-common)

Modified:
  branches/2020Q3/biology/mapm3/Makefile
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/biology/mapm3/Makefile
==============================================================================
--- branches/2020Q3/biology/mapm3/Makefile	Fri Sep  4 11:28:24 2020	(r547530)
+++ branches/2020Q3/biology/mapm3/Makefile	Fri Sep  4 11:30:40 2020	(r547531)
@@ -3,28 +3,38 @@
 
 PORTNAME=	mapm3
 PORTVERSION=	3.0
+PORTREVISION=	1
 CATEGORIES=	biology
 MASTER_SITES=	http://www.broad.mit.edu/ftp/distribution/software/mapmaker3/ \
 		ftp://ftp.ibiblio.org/pub/academic/biology/molbio/mapmaker/   \
 		http://iubio.bio.indiana.edu/soft/molbio/qtl/mapmaker/        \
 		http://www.mirrorservice.org/sites/iubio.bio.indiana.edu/molbio/qtl/mapmaker/
 DISTNAME=	mapm3-source
-EXTRACT_SUFX=	.tar.Z
 
 MAINTAINER=	tphilipp@potion-studios.com
 COMMENT=	Constructs linkage maps of markers segregating in experimental crosses
 
-USES=		ncurses
+LICENSE=	MAPMAKER
+LICENSE_NAME=	Whitehead Institute Mapmaker license
+LICENSE_FILE=	${WRKSRC}/READ.ME
+LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+
+USES=		ncurses tar:Z
 USE_CSTD=	gnu89
-CFLAGS+=	-Wno-return-type
-NO_WRKSUBDIR=	yes
+
 MAKE_ARGS+=	SYS_LIBS="${LDFLAGS} -lm -lncurses"
 MAKE_JOBS_UNSAFE=	yes
+CFLAGS+=	-fcommon -Wno-return-type
+NO_WRKSUBDIR=	yes
 
 post-patch:
 	${CP} ${WRKSRC}/sun/* ${WRKSRC}
 
 pre-install:
 	@${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|' ${WRKSRC}/Makefile
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mapmaker
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qtl
 
 .include <bsd.port.mk>



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