| @@ -1,26 +1,30 @@ | | | @@ -1,26 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.35 2023/05/28 22:48:27 bacon Exp $ | | 1 | # $NetBSD: Makefile,v 1.36 2023/07/09 08:39:03 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= ncbi-blast-2.14.0+-src | | 3 | DISTNAME= ncbi-blast-2.14.0+-src |
4 | PKGNAME= ${DISTNAME:S/+-src//:S/blast/blast+/} | | 4 | PKGNAME= ${DISTNAME:S/+-src//:S/blast/blast+/} |
5 | CATEGORIES= biology | | 5 | CATEGORIES= biology |
6 | MASTER_SITES= https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ \ | | 6 | MASTER_SITES= https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ \ |
7 | https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/${PKGVERSION_NOREV}/ | | 7 | https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/${PKGVERSION_NOREV}/ |
8 | | | 8 | |
9 | MAINTAINER= bacon@NetBSD.org | | 9 | MAINTAINER= bacon@NetBSD.org |
10 | HOMEPAGE= http://blast.ncbi.nlm.nih.gov/ | | 10 | HOMEPAGE= http://blast.ncbi.nlm.nih.gov/ |
11 | COMMENT= NCBI implementation of Basic Local Alignment Search Tool | | 11 | COMMENT= NCBI implementation of Basic Local Alignment Search Tool |
12 | LICENSE= public-domain | | 12 | LICENSE= public-domain |
13 | | | 13 | |
| | | 14 | # configure: error: |
| | | 15 | # Please upgrade to a compiler supporting C++ '17, such as GCC 7.1 or newer. |
| | | 16 | GCC_REQD+= 7 |
| | | 17 | |
14 | # Nobody does bioinformatics on 32-bit processors anymore | | 18 | # Nobody does bioinformatics on 32-bit processors anymore |
15 | ONLY_FOR_PLATFORM= ${LP64PLATFORMS} | | 19 | ONLY_FOR_PLATFORM= ${LP64PLATFORMS} |
16 | | | 20 | |
17 | # Fix "undefined _ThreadRuneLocale" error on FreeBSD 10.0 | | 21 | # Fix "undefined _ThreadRuneLocale" error on FreeBSD 10.0 |
18 | # Fix "unknown options" in configure | | 22 | # Fix "unknown options" in configure |
19 | SUBST_CLASSES+= configure | | 23 | SUBST_CLASSES+= configure |
20 | SUBST_STAGE.configure= pre-configure | | 24 | SUBST_STAGE.configure= pre-configure |
21 | SUBST_SED.configure+= -e 's|-D_THREAD_SAFE|-D_THREAD_SAFE -D__RUNETYPE_INTERNAL|' | | 25 | SUBST_SED.configure+= -e 's|-D_THREAD_SAFE|-D_THREAD_SAFE -D__RUNETYPE_INTERNAL|' |
22 | SUBST_SED.configure+= -e '/--infodir=DIR/d' | | 26 | SUBST_SED.configure+= -e '/--infodir=DIR/d' |
23 | SUBST_SED.configure+= -e '/--mandir=DIR/d' | | 27 | SUBST_SED.configure+= -e '/--mandir=DIR/d' |
24 | SUBST_FILES.configure+= src/build-system/configure | | 28 | SUBST_FILES.configure+= src/build-system/configure |
25 | | | 29 | |
26 | USE_TOOLS+= bash gmake perl | | 30 | USE_TOOLS+= bash gmake perl |