diff options
author | jlam <jlam> | 2002-09-20 22:33:29 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-20 22:33:29 +0000 |
commit | 1c27bc31add6ca6ef92803b20e7171e819f71553 (patch) | |
tree | 17700ee01dde9cff049f11fe3ca3ceb2d61df5d8 /lang/python21-pth | |
parent | 6870fcfa0ffb50cfc91d06002a9b7672e7b5414c (diff) | |
download | pkgsrc-1c27bc31add6ca6ef92803b20e7171e819f71553.tar.gz |
Add buildlink2.mk file for use by other package Makefiles, and by
python/pyversion.mk in particular.
Diffstat (limited to 'lang/python21-pth')
-rw-r--r-- | lang/python21-pth/buildlink2.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/python21-pth/buildlink2.mk b/lang/python21-pth/buildlink2.mk new file mode 100644 index 00000000000..dd06aeb20d4 --- /dev/null +++ b/lang/python21-pth/buildlink2.mk @@ -0,0 +1,23 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/09/20 22:33:30 jlam Exp $ + +.if !defined(PYTHON21_BUILDLINK2_MK) +PYTHON21_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= python21-pth +BUILDLINK_DEPENDS.python21-pth?= python21-pth>=2.1 +BUILDLINK_PKGSRCDIR.python21-pth?= ../../lang/python21-pth + +.if defined(BUILDLINK_DEPMETHOD.python) +BUILDLINK_DEPMETHOD.python21-pth?= ${BUILDLINK_DEPMETHOD.python} +.endif + +EVAL_PREFIX+= BUILDLINK_PREFIX.python21-pth=python21-pth +BUILDLINK_PREFIX.python21-pth_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.python21-pth= include/python2p1/* +BUILDLINK_FILES.python21-pth+= lib/python2p1/config/libpython2p1.* + +BUILDLINK_TARGETS+= python21-pth-buildlink + +python21-pth-buildlink: _BUILDLINK_USE + +.endif # PYTHON21_BUILDLINK2_MK |