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/python15/buildlink3.mk | |
parent | 43f1b35370f33ec260016679e06341745a3e1c14 (diff) | |
download | pkgsrc-88d81000e5be6df6928ba309b3e33a544eda6f6f.tar.gz |
add buildlink3.mk
Diffstat (limited to 'lang/python15/buildlink3.mk')
-rw-r--r-- | lang/python15/buildlink3.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lang/python15/buildlink3.mk b/lang/python15/buildlink3.mk new file mode 100644 index 00000000000..7f6f94fcc9b --- /dev/null +++ b/lang/python15/buildlink3.mk @@ -0,0 +1,30 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/25 14:23:39 recht Exp $ +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PYTHON15_BUILDLINK3_MK:= ${PYTHON15_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= python15 +.endif + +.if !empty(PYTHON15_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= python15 +BUILDLINK_DEPENDS.python15?= python15>=1.5.2 +BUILDLINK_PKGSRCDIR.python15?= ../../lang/python15 + +.if defined(BUILDLINK_DEPMETHOD.python) +BUILDLINK_DEPMETHOD.python15?= ${BUILDLINK_DEPMETHOD.python} +.endif + +BUILDLINK_TRANSFORM+= l:python:python1.5 + +BUILDLINK_CPPFLAGS.python15+= \ + -I${BUILDLINK_PREFIX.python15}/include/python1.5 +BUILDLINK_LDFLAGS.python15+= \ + -L${BUILDLINK_PREFIX.python15}/lib/python1.5/config \ + -Wl,-R${BUILDLINK_PREFIX.python15}/lib/python1.5/config + +.endif # PYTHON15_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |