Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2020 09:23:36 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545294 - head/science/simgrid
Message-ID:  <202008190923.07J9Naol007911@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Aug 19 09:23:36 2020
New Revision: 545294
URL: https://svnweb.freebsd.org/changeset/ports/545294

Log:
  science/simgrid: fix build on non-aarch64, non-x86
  
  Add libunwind to LIB_DEPENDS only on aarch64, amd64 and i386. Port builds fine without it on powerpc64
  
  MFH:		2020Q3 (fix build blanket)

Modified:
  head/science/simgrid/Makefile

Modified: head/science/simgrid/Makefile
==============================================================================
--- head/science/simgrid/Makefile	Wed Aug 19 09:21:08 2020	(r545293)
+++ head/science/simgrid/Makefile	Wed Aug 19 09:23:36 2020	(r545294)
@@ -12,7 +12,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE-LGPL-2.1
 
 LIB_DEPENDS=	libboost_context.so:devel/boost-libs \
 		libcgraph.so:graphics/graphviz \
-		libunwind-ptrace.so:devel/libunwind
+		${LIB_DEPENDS_${ARCH}}
+
+LIB_DEPENDS_aarch64=	libunwind.so:devel/libunwind
+LIB_DEPENDS_amd64=	libunwind.so:devel/libunwind
+LIB_DEPENDS_i386=	libunwind.so:devel/libunwind
 
 USES=		cmake:noninja compiler:c++11-lang perl5 python:3.6+ shebangfix
 USE_GITLAB=	yes



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