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)
This commit is contained in:
parent
3c32370ab3
commit
a9a5515693
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q3/; revision=547531
@ -3,23 +3,29 @@
|
||||
|
||||
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}
|
||||
@ -27,4 +33,8 @@ post-patch:
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user