diff options
author | adam <adam@pkgsrc.org> | 2020-05-01 07:54:38 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-05-01 07:54:38 +0000 |
commit | e6a45756daebcdbec4d688bb02f6bc6ba6aefe6d (patch) | |
tree | 21f18b576714bb3bc78be9f70b4e664557cd6cbf /devel | |
parent | 3a0bd718d8ff5826b8b72ae061d14003e4e27136 (diff) | |
download | pkgsrc-e6a45756daebcdbec4d688bb02f6bc6ba6aefe6d.tar.gz |
py-pybind11: more flexible buildlink3.mk
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-pybind11/buildlink3.mk | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/devel/py-pybind11/buildlink3.mk b/devel/py-pybind11/buildlink3.mk index 54be8872b31..6c02f0eaeef 100644 --- a/devel/py-pybind11/buildlink3.mk +++ b/devel/py-pybind11/buildlink3.mk @@ -1,13 +1,14 @@ -# $NetBSD: buildlink3.mk,v 1.1 2020/04/28 09:42:48 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2020/05/01 07:54:38 adam Exp $ -BUILDLINK_TREE+= py38-pybind11 +BUILDLINK_TREE+= py-pybind11 -.if !defined(PY38_PYBIND11_BUILDLINK3_MK) -PY38_PYBIND11_BUILDLINK3_MK:= +.if !defined(PY_PYBIND11_BUILDLINK3_MK) +PY_PYBIND11_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.py38-pybind11+= py38-pybind11>=2.5.0 -BUILDLINK_PKGSRCDIR.py38-pybind11?= ../../devel/py-pybind11 -BUILDLINK_DEPMETHOD.py38-pybind11?= build -.endif # PY38_PYBIND11_BUILDLINK3_MK +.include "../../lang/python/pyversion.mk" +BUILDLINK_API_DEPENDS.py-pybind11+= ${PYPKGPREFIX}-pybind11>=2.5.0 +BUILDLINK_PKGSRCDIR.py-pybind11?= ../../devel/py-pybind11 +BUILDLINK_DEPMETHOD.py-pybind11?= build +.endif # PY_PYBIND11_BUILDLINK3_MK -BUILDLINK_TREE+= -py38-pybind11 +BUILDLINK_TREE+= -py-pybind11 |