pkgsrc/lang/python23-pth/buildlink3.mk

26 lines
774 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.4 2004/02/10 20:45:02 jlam Exp $
2004-01-25 15:05:34 +01:00
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
2004-01-25 15:05:34 +01:00
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
BUILDLINK_PKGSRCDIR.python23-pth?= ../../lang/python23-pth
2004-01-25 15:05:34 +01:00
. if defined(BUILDLINK_DEPMETHOD.python)
2004-01-25 15:05:34 +01:00
BUILDLINK_DEPMETHOD.python23pth?= ${BUILDLINK_DEPMETHOD.python}
. endif
2004-01-25 15:05:34 +01:00
BUILDLINK_INCDIRS.python23-pth+= include/python2p3
BUILDLINK_LIBDIRS.python23-pth+= lib/python2p3/config
BUILDLINK_TRANSFORM+= l:python:python2p3
2004-01-25 15:05:34 +01:00
.endif # PYTHON23_PTH_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}