summaryrefslogtreecommitdiff
path: root/devel/py-boost/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-boost/buildlink3.mk')
-rw-r--r--devel/py-boost/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/py-boost/buildlink3.mk b/devel/py-boost/buildlink3.mk
new file mode 100644
index 00000000000..c43425b192f
--- /dev/null
+++ b/devel/py-boost/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/07/13 15:08:55 wiz Exp $
+
+BUILDLINK_TREE+= py-boost
+
+.if !defined(PY_BOOST_BUILDLINK3_MK)
+PY_BOOST_BUILDLINK3_MK:=
+
+.include "../../lang/python/pyversion.mk"
+
+# Use a dependency pattern that guarantees the proper ABI.
+BUILDLINK_API_DEPENDS.py-boost+= ${PYPKGPREFIX}-boost-1.58.*
+BUILDLINK_ABI_DEPENDS.py-boost+= ${PYPKGPREFIX}-boost-1.58.*
+BUILDLINK_PKGSRCDIR.py-boost?= ../../devel/py-boost
+
+.include "../../devel/boost-headers/buildlink3.mk"
+.endif # PY_BOOST_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -py-boost