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/030816fd2fff
branches:  trunk
changeset: 467001:030816fd2fff
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Jan 25 14:05:34 2004 +0000

description:
add buildlink3.mk

diffstat:

 lang/python23-pth/buildlink3.mk |  34 ++++++++++++++++++++++++++++++++++
 lang/python23/buildlink3.mk     |  30 ++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+), 0 deletions(-)

diffs (72 lines):

diff -r 2422505f2862 -r 030816fd2fff lang/python23-pth/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python23-pth/buildlink3.mk   Sun Jan 25 14:05:34 2004 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/25 14:05:34 recht Exp $
+#
+# This Makefile fragment is included by packages that use python23-pth.
+#
+# This file was created automatically using createbuildlink-3.0.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+PYTHON23_PTH_BUILDLINK3_MK:=   ${PYTHON23_PTH_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    python23-pth
+.endif
+
+.if !empty(PYTHON23_PTH_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   python23-pth
+BUILDLINK_DEPENDS.python23-pth?=               python23-pth>=2.3.3
+BUILDLINK_PKGSRCDIR.python23-pth?=             ../../lang/python23-pth
+
+.if defined(BUILDLINK_DEPMETHOD.python)
+BUILDLINK_DEPMETHOD.python23pth?=      ${BUILDLINK_DEPMETHOD.python}
+.endif
+
+BUILDLINK_TRANSFORM+=          l:python:python2p3
+
+BUILDLINK_CPPFLAGS.python23pth+= \
+       -I${BUILDLINK_PREFIX.python23pth}/include/python2p3
+BUILDLINK_LDFLAGS.python23pth+= \
+       -L${BUILDLINK_PREFIX.python23pth}/lib/python2p3/config          \
+       -Wl,-R${BUILDLINK_PREFIX.python23pth}/lib/python2p3/config
+
+.endif # PYTHON23_PTH_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 2422505f2862 -r 030816fd2fff lang/python23/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python23/buildlink3.mk       Sun Jan 25 14:05:34 2004 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/25 14:05:34 recht Exp $
+#
+# This Makefile fragment is included by packages that use python23.
+#
+# This file was created automatically using createbuildlink-3.0.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+PYTHON23_BUILDLINK3_MK:=       ${PYTHON23_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    python23
+.endif
+
+.if !empty(PYTHON23_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   python23
+BUILDLINK_DEPENDS.python23?=           python23>=2.3.3
+BUILDLINK_PKGSRCDIR.python23?=         ../../lang/python23
+
+BUILDLINK_TRANSFORM+=          l:python:python2.3
+
+BUILDLINK_CPPFLAGS.python23+= \
+       -I${BUILDLINK_PREFIX.python23}/include/python2.3
+BUILDLINK_LDFLAGS.python23+= \
+       -L${BUILDLINK_PREFIX.python23}/lib/python2.3/config             \
+       -Wl,-R${BUILDLINK_PREFIX.python23}/lib/python2.3/config
+
+.endif # PYTHON23_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index