diff options
author | recht <recht@pkgsrc.org> | 2004-01-25 14:23:39 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2004-01-25 14:23:39 +0000 |
commit | 88d81000e5be6df6928ba309b3e33a544eda6f6f (patch) | |
tree | c7c804b3e30242fad1bb2c99c07c0b457bc12321 /lang/python20 | |
parent | 43f1b35370f33ec260016679e06341745a3e1c14 (diff) | |
download | pkgsrc-88d81000e5be6df6928ba309b3e33a544eda6f6f.tar.gz |
add buildlink3.mk
Diffstat (limited to 'lang/python20')
-rw-r--r-- | lang/python20/buildlink3.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lang/python20/buildlink3.mk b/lang/python20/buildlink3.mk new file mode 100644 index 00000000000..0b6085f522d --- /dev/null +++ b/lang/python20/buildlink3.mk @@ -0,0 +1,30 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/25 14:23:39 recht Exp $ +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PYTHON20_BUILDLINK3_MK:= ${PYTHON20_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= python20 +.endif + +.if !empty(PYTHON20_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= python20 +BUILDLINK_DEPENDS.python20?= python20>=2.0.1 +BUILDLINK_PKGSRCDIR.python20?= ../../lang/python20 + +.if defined(BUILDLINK_DEPMETHOD.python) +BUILDLINK_DEPMETHOD.python20?= ${BUILDLINK_DEPMETHOD.python} +.endif + +BUILDLINK_TRANSFORM+= l:python:python2.0 + +BUILDLINK_CPPFLAGS.python20+= \ + -I${BUILDLINK_PREFIX.python20}/include/python2.0 +BUILDLINK_LDFLAGS.python20+= \ + -L${BUILDLINK_PREFIX.python20}/lib/python2.0/config \ + -Wl,-R${BUILDLINK_PREFIX.python20}/lib/python2.0/config + +.endif # PYTHON20_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |