Date: Fri, 4 Sep 2020 11:28:24 +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-head@freebsd.org Subject: svn commit: r547530 - head/biology/mapm3 Message-ID: <202009041128.084BSOaW041947@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: fernape Date: Fri Sep 4 11:28:24 2020 New Revision: 547530 URL: https://svnweb.freebsd.org/changeset/ports/547530 Log: 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) MFH: 2020Q3 (build fix, -fno-common) Modified: head/biology/mapm3/Makefile Modified: head/biology/mapm3/Makefile ============================================================================== --- head/biology/mapm3/Makefile Fri Sep 4 10:53:01 2020 (r547529) +++ head/biology/mapm3/Makefile Fri Sep 4 11:28:24 2020 (r547530) @@ -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?202009041128.084BSOaW041947>