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