summaryrefslogtreecommitdiff
path: root/lang/python23-pth
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-01-25 14:05:34 +0000
committerrecht <recht@pkgsrc.org>2004-01-25 14:05:34 +0000
commit0866e218dc43917f0439209722e740192fec2e9e (patch)
treef8f04db76ef0abb212e0cd1dfea09b46d2aeb11e /lang/python23-pth
parentbce0d9566f809ba669fac53f09b1c171ff4efcef (diff)
downloadpkgsrc-0866e218dc43917f0439209722e740192fec2e9e.tar.gz
add buildlink3.mk
Diffstat (limited to 'lang/python23-pth')
-rw-r--r--lang/python23-pth/buildlink3.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/lang/python23-pth/buildlink3.mk b/lang/python23-pth/buildlink3.mk
new file mode 100644
index 00000000000..e411fbcc233
--- /dev/null
+++ b/lang/python23-pth/buildlink3.mk
@@ -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/+$//}