pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang add buildlink3.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/94e43326d10e
branches: trunk
changeset: 467006:94e43326d10e
user: recht <recht%pkgsrc.org@localhost>
date: Sun Jan 25 14:23:39 2004 +0000
description:
add buildlink3.mk
diffstat:
lang/python15/buildlink3.mk | 30 ++++++++++++++++++++++++++++++
lang/python20/buildlink3.mk | 30 ++++++++++++++++++++++++++++++
lang/python21-pth/buildlink3.mk | 30 ++++++++++++++++++++++++++++++
lang/python21/buildlink3.mk | 30 ++++++++++++++++++++++++++++++
4 files changed, 120 insertions(+), 0 deletions(-)
diffs (136 lines):
diff -r eb1e447c707b -r 94e43326d10e lang/python15/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python15/buildlink3.mk Sun Jan 25 14:23:39 2004 +0000
@@ -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 -r eb1e447c707b -r 94e43326d10e lang/python20/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python20/buildlink3.mk Sun Jan 25 14:23:39 2004 +0000
@@ -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 -r eb1e447c707b -r 94e43326d10e lang/python21-pth/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python21-pth/buildlink3.mk Sun Jan 25 14:23:39 2004 +0000
@@ -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 -r eb1e447c707b -r 94e43326d10e lang/python21/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python21/buildlink3.mk Sun Jan 25 14:23:39 2004 +0000
@@ -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/+$//}
Home |
Main Index |
Thread Index |
Old Index