diff options
author | recht <recht@pkgsrc.org> | 2004-01-25 14:05:34 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2004-01-25 14:05:34 +0000 |
commit | b6436d1b368783121594775c21ad10ef0166d7a9 (patch) | |
tree | f8f04db76ef0abb212e0cd1dfea09b46d2aeb11e /lang | |
parent | 8e850d04592ee921e1bb4221257a6b8fcb05a541 (diff) | |
download | pkgsrc-b6436d1b368783121594775c21ad10ef0166d7a9.tar.gz |
add buildlink3.mk
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python23-pth/buildlink3.mk | 34 | ||||
-rw-r--r-- | lang/python23/buildlink3.mk | 30 |
2 files changed, 64 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/+$//} diff --git a/lang/python23/buildlink3.mk b/lang/python23/buildlink3.mk new file mode 100644 index 00000000000..9382e35c951 --- /dev/null +++ b/lang/python23/buildlink3.mk @@ -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/+$//} |