diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-20 22:33:29 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-20 22:33:29 +0000 |
commit | 4a6f7d916d97328334a3b5aa2af0d3fc9aba5d52 (patch) | |
tree | 17700ee01dde9cff049f11fe3ca3ceb2d61df5d8 /lang/python22 | |
parent | 8793a1f52073496ec3d4b944bcba8ae3f7345e81 (diff) | |
download | pkgsrc-4a6f7d916d97328334a3b5aa2af0d3fc9aba5d52.tar.gz |
Add buildlink2.mk file for use by other package Makefiles, and by
python/pyversion.mk in particular.
Diffstat (limited to 'lang/python22')
-rw-r--r-- | lang/python22/buildlink2.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/python22/buildlink2.mk b/lang/python22/buildlink2.mk new file mode 100644 index 00000000000..252a751c0d2 --- /dev/null +++ b/lang/python22/buildlink2.mk @@ -0,0 +1,23 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/09/20 22:33:31 jlam Exp $ + +.if !defined(PYTHON22_BUILDLINK2_MK) +PYTHON22_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= python22 +BUILDLINK_DEPENDS.python22?= python22>=2.2 +BUILDLINK_PKGSRCDIR.python22?= ../../lang/python22 + +.if defined(BUILDLINK_DEPMETHOD.python) +BUILDLINK_DEPMETHOD.python22?= ${BUILDLINK_DEPMETHOD.python} +.endif + +EVAL_PREFIX+= BUILDLINK_PREFIX.python22=python22 +BUILDLINK_PREFIX.python22_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.python22= include/python2.2/* +BUILDLINK_FILES.python22+= lib/python2.2/config/libpython2.2.* + +BUILDLINK_TARGETS+= python22-buildlink + +python22-buildlink: _BUILDLINK_USE + +.endif # PYTHON22_BUILDLINK2_MK |