summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-08-16 12:56:27 +0000
committeradam <adam@pkgsrc.org>2018-08-16 12:56:27 +0000
commit742c6b48af21606052679f32089689df54b8f82a (patch)
tree15394f26f2b24022e34a77aa2553e42b8bdebd79
parentdd833a98053773e8e3d135ab7453da1b64c323cf (diff)
downloadpkgsrc-742c6b48af21606052679f32089689df54b8f82a.tar.gz
hwloc: fix building on Darwin
-rw-r--r--parallel/hwloc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/parallel/hwloc/Makefile b/parallel/hwloc/Makefile
index 774c40ec9d5..c21d9be9827 100644
--- a/parallel/hwloc/Makefile
+++ b/parallel/hwloc/Makefile
@@ -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 @@ CONFIGURE_ARGS+= --enable-picky
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"