diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-09-04 11:30:40 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-09-04 11:30:40 +0000 |
commit | a9a5515693416f2792a7649aa166b4f0935e119e (patch) | |
tree | c7010aaebdaa5b5edabf60fcef4c26ff6e9681f1 /biology | |
parent | 3c32370ab33b9cd1d1d673f6491cce616fcc2945 (diff) | |
download | ports-a9a5515693416f2792a7649aa166b4f0935e119e.tar.gz ports-a9a5515693416f2792a7649aa166b4f0935e119e.zip |
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)
Notes
Notes:
svn path=/branches/2020Q3/; revision=547531
Diffstat (limited to 'biology')
-rw-r--r-- | biology/mapm3/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/biology/mapm3/Makefile b/biology/mapm3/Makefile index f0f5ed61c629..43c0972f95ea 100644 --- a/biology/mapm3/Makefile +++ b/biology/mapm3/Makefile @@ -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> |