summaryrefslogtreecommitdiff
path: root/devel/py-boost/buildlink3.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-07-13 15:08:54 +0000
committerwiz <wiz@pkgsrc.org>2015-07-13 15:08:54 +0000
commitaf9cef783f3a7bb5ac447e77d61a3cf2b278d9d4 (patch)
tree400750ddb0547865aab684acc2464e9307c1ea8a /devel/py-boost/buildlink3.mk
parente320fe2fa8ec0d51f8b0ba73e900df0d95dc8bd3 (diff)
downloadpkgsrc-af9cef783f3a7bb5ac447e77d61a3cf2b278d9d4.tar.gz
Rename boost-python to py-boost and make it a proper multi-version package.
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