mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
biology/gcta: Drop dependency on gcc
Replace compiler:openmp with compiler:c++11-lang Clang build also requires localbase:ldflags Build tested on amd64, i386 and powerpc64 12.x-RELEASE PR: port/247753, ports/252379
This commit is contained in:
parent
a51d36440c
commit
426575b829
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561231
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= gcta
|
||||
DISTVERSION= 1.26.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= biology
|
||||
MASTER_SITES= https://cnsgenomics.com/software/gcta/pre_gcta/
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
|
||||
@ -13,9 +13,9 @@ COMMENT= Genome-wide Complex Trait Analysis
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/GNU_General_Public_License_v3.txt
|
||||
|
||||
LIB_DEPENDS+= libopenblas.so:math/openblas
|
||||
LIB_DEPENDS= libopenblas.so:math/openblas
|
||||
|
||||
USES= compiler:openmp dos2unix eigen:3 gmake localbase zip
|
||||
USES= compiler:c++11-lang dos2unix eigen:3 gmake localbase:ldflags zip
|
||||
|
||||
CXXFLAGS+= -I${LOCALBASE}/include/eigen3 -fopenmp
|
||||
LDFLAGS+= -lopenblas
|
||||
@ -23,13 +23,7 @@ LDFLAGS+= -lopenblas
|
||||
INSTALL_TARGET= install-strip
|
||||
PLIST_FILES= bin/gcta
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
|
||||
USE_GCC= yes
|
||||
.endif
|
||||
|
||||
do-extract:
|
||||
${UNZIP_NATIVE_CMD} -d ${WRKSRC} ${DISTDIR}/${DISTFILES}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user