Date: Mon, 11 Jan 2021 17:09:38 +0000 (UTC) From: "Jason W. Bacon" <jwb@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561231 - head/biology/gcta Message-ID: <202101111709.10BH9cwh038689@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jwb Date: Mon Jan 11 17:09:37 2021 New Revision: 561231 URL: https://svnweb.freebsd.org/changeset/ports/561231 Log: 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 Modified: head/biology/gcta/Makefile Modified: head/biology/gcta/Makefile ============================================================================== --- head/biology/gcta/Makefile Mon Jan 11 17:04:05 2021 (r561230) +++ head/biology/gcta/Makefile Mon Jan 11 17:09:37 2021 (r561231) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101111709.10BH9cwh038689>