From 5ee9bcc6552cf35135dd599d9a2a00039366903b Mon Sep 17 00:00:00 2001 From: recht Date: Sun, 25 Jan 2004 14:05:34 +0000 Subject: add buildlink3.mk --- lang/python23-pth/buildlink3.mk | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 lang/python23-pth/buildlink3.mk (limited to 'lang/python23-pth') 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/+$//} -- cgit v1.2.3