Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2021 18:12:13 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561368 - in head/biology/iqtree: . files
Message-ID:  <202101121812.10CICDiI085595@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jrm
Date: Tue Jan 12 18:12:12 2021
New Revision: 561368
URL: https://svnweb.freebsd.org/changeset/ports/561368

Log:
  biology/iqtree: Remove USES=compiler:openmp, fix amd64 clang++ build
  
  - USES=compiler:openmp still forces building with GCC.  This is no longer
    necessary on tier 1 platforms, which have openmp in base.
  
  - Mark broken on i386, because base clang doesn't have 64 bit atomic
    functions for i386 (see bug 230888).
  
  PR:		247753, 252379
  Submitted by:	cmt (based on)

Added:
  head/biology/iqtree/files/
  head/biology/iqtree/files/patch-CMakeLists.txt   (contents, props changed)
Modified:
  head/biology/iqtree/Makefile   (contents, props changed)

Modified: head/biology/iqtree/Makefile
==============================================================================
--- head/biology/iqtree/Makefile	Tue Jan 12 18:11:15 2021	(r561367)
+++ head/biology/iqtree/Makefile	Tue Jan 12 18:12:12 2021	(r561368)
@@ -3,7 +3,7 @@
 PORTNAME=	iqtree
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.0.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	biology
 
 MAINTAINER=	jrm@FreeBSD.org
@@ -15,11 +15,12 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BROKEN_aarch64=	fails to compile: unrecognized command line option '-msse3'
 BROKEN_armv6=	fails to compile: unrecognized command line options '-m32' and '-msse3'
 BROKEN_armv7=	fails to compile: unrecognized command line options '-m32' and '-msse3'
+BROKEN_i386=	ld: error: unable to find library -latomic (see bug 230888)
 BROKEN_powerpc64=	fails to build: GCC version must be at least 4.8!
 
 LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs
 
-USES=		cmake compiler:openmp eigen:3
+USES=		cmake compiler:c++11-lang eigen:3
 USE_GITHUB=	yes
 GH_ACCOUNT=	Cibiv
 GH_PROJECT=	IQ-TREE

Added: head/biology/iqtree/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/biology/iqtree/files/patch-CMakeLists.txt	Tue Jan 12 18:12:12 2021	(r561368)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2021-01-11 20:50:45 UTC
++++ CMakeLists.txt
+@@ -323,7 +323,7 @@ if (NOT IQTREE_FLAGS MATCHES "single")
+ 
+     if(CLANG AND APPLE)
+         link_directories(${PROJECT_SOURCE_DIR}/libmac)
+-    elseif (WIN32 OR UNIX)
++    elseif (WIN32 OR UNIX AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
+         if (BINARY32)
+             link_directories(${PROJECT_SOURCE_DIR}/lib32)
+         else()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101121812.10CICDiI085595>