pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/parallel/hwloc hwloc: fix building on Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8fedaee0496
branches:  trunk
changeset: 384087:c8fedaee0496
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Aug 16 12:56:27 2018 +0000

description:
hwloc: fix building on Darwin

diffstat:

 parallel/hwloc/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 3078e8542581 -r c8fedaee0496 parallel/hwloc/Makefile
--- a/parallel/hwloc/Makefile   Thu Aug 16 12:55:55 2018 +0000
+++ b/parallel/hwloc/Makefile   Thu Aug 16 12:56:27 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2018/08/09 11:15:31 prlw1 Exp $
+# $NetBSD: Makefile,v 1.23 2018/08/16 12:56:27 adam Exp $
 
 DISTNAME=      hwloc-1.11.10
 CATEGORIES=    parallel
@@ -17,9 +17,14 @@
 
 TEST_TARGET=   check
 
+.include "../../mk/bsd.prefs.mk"
+
 # libpci??
 #.include "../../graphics/cairo/buildlink3.mk" # optional
+.if ${OPSYS} != "Darwin"
+# libpciaccess is marked as broken on Darwin
 .include "../../sysutils/libpciaccess/buildlink3.mk"
+.endif
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"



Home | Main Index | Thread Index | Old Index