Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2021 16:51:16 +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: r561227 - head/biology/canu
Message-ID:  <202101111651.10BGpGMS027446@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jwb
Date: Mon Jan 11 16:51:15 2021
New Revision: 561227
URL: https://svnweb.freebsd.org/changeset/ports/561227

Log:
  biology/canu: Drop dependency on gcc
  
  Replace compiler:openmp with compiler:c++11-lang and localbase
  
  PR:             port/247753, ports/252379

Modified:
  head/biology/canu/Makefile

Modified: head/biology/canu/Makefile
==============================================================================
--- head/biology/canu/Makefile	Mon Jan 11 16:47:49 2021	(r561226)
+++ head/biology/canu/Makefile	Mon Jan 11 16:51:15 2021	(r561227)
@@ -2,6 +2,7 @@
 
 PORTNAME=		canu
 DISTVERSION=		2.1
+PORTREVISION=		1
 CATEGORIES=		biology java perl5
 # Github auto-generated tarballs lack submodules
 MASTER_SITES=		https://github.com/marbl/canu/releases/download/v2.1/
@@ -19,7 +20,7 @@ NOT_FOR_ARCHS_REASON=	__int128 is not supported on thi
 LIB_DEPENDS=	libboost_regex.so:devel/boost-libs
 RUN_DEPENDS=	gnuplot:math/gnuplot
 
-USES=		compiler:openmp gmake perl5
+USES=		compiler:c++11-lang gmake localbase perl5
 USE_JAVA=	yes
 
 JAVA_RUN=	yes
@@ -30,13 +31,6 @@ WRKSRC_SUBDIR=	src
 # using a separate install target.
 MAKE_ENV=	DESTDIR=${WRKSRC} CANU_BUILD_ENV=ports
 
-.include <bsd.port.pre.mk>
-
-# GCC 4.2.1 (still base compiler on some 2nd tier platforms) cannot build canu
-.if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
-USE_GCC=	yes
-.endif
-
 pre-configure:
 	@${REINPLACE_CMD} \
 		-e 's|-O4||g' \
@@ -62,4 +56,4 @@ do-install:
 	(cd ${WRKSRC}/build && \
 		${COPYTREE_SHARE} "lib share" ${STAGEDIR}${PREFIX})
 
-.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?202101111651.10BGpGMS027446>