diff options
author | minskim <minskim@pkgsrc.org> | 2004-02-18 16:58:36 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-02-18 16:58:36 +0000 |
commit | 0435954643f99887c170bb218dc2787052ec40b9 (patch) | |
tree | c4e01f850d20012b41d0760861c50da487c2ca98 /net | |
parent | d51a733eebcd4f2472a6d3d194abbd613d7241d3 (diff) | |
download | pkgsrc-0435954643f99887c170bb218dc2787052ec40b9.tar.gz |
bl3ify and add explicit build dependency on pkgconfig.
Diffstat (limited to 'net')
-rw-r--r-- | net/py-ORBit/Makefile | 9 | ||||
-rw-r--r-- | net/py-ORBit/buildlink3.mk | 24 |
2 files changed, 29 insertions, 4 deletions
diff --git a/net/py-ORBit/Makefile b/net/py-ORBit/Makefile index ff272bdde62..861f1dfc9a2 100644 --- a/net/py-ORBit/Makefile +++ b/net/py-ORBit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2004/02/14 18:26:28 jmmv Exp $ +# $NetBSD: Makefile,v 1.11 2004/02/18 16:58:54 minskim Exp $ # DISTNAME= pyorbit-2.0.0 @@ -13,7 +13,7 @@ HOMEPAGE= http://www.gnome.org/ COMMENT= Python bindings for ORBit2 PY_PATCHPLIST= YES -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_GNU_TOOLS+= make USE_LIBTOOL= YES PKGCONFIG_OVERRIDE+= pyorbit-2.pc.in @@ -23,7 +23,8 @@ CONFIGURE_ENV+= PYTHON=${PYTHONBIN} PYTHON_VERSIONS_ACCEPTED= 23pth 22pth BUILDLINK_DEPENDS.python22-pth= python22-pth>=2.2.2nb2 -.include "../../net/ORBit2/buildlink2.mk" +.include "../../devel/pkgconfig/buildlink3.mk" +.include "../../net/ORBit2/buildlink3.mk" .include "../../lang/python/extension.mk" -.include "../../mk/pthread.buildlink2.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/py-ORBit/buildlink3.mk b/net/py-ORBit/buildlink3.mk new file mode 100644 index 00000000000..c2af150fd4a --- /dev/null +++ b/net/py-ORBit/buildlink3.mk @@ -0,0 +1,24 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/18 16:58:54 minskim Exp $ +# +# This Makefile fragment is included by packages that use py-ORBit. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PY_ORBIT_BUILDLINK3_MK:= ${PY_ORBIT_BUILDLINK3_MK}+ + +.include "../../lang/python/pyversion.mk" + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= ${PYPKGPREFIX}-ORBit +.endif + +.if !empty(PY_ORBIT_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= pyorbit +BUILDLINK_DEPENDS.pyorbit+= ${PYPKGPREFIX}-ORBit>=2.0.0nb1 +BUILDLINK_PKGSRCDIR.pyorbit?= ../../net/py-ORBit + +.include "../../net/ORBit2/buildlink3.mk" + +.endif # PY_ORBIT_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |