pkgsrc/lang/tcl-itcl-current/buildlink3.mk
jschauma c7b474b6d9 As with tcl and tk, patch the itclConfig.sh file to contain the
proper directories etc.

While here, add a buildlink transformation to let packages to pass
-litk or -litcl and get -litk33 and -litcl33.
2005-04-13 20:06:24 +00:00

25 lines
772 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2005/04/13 20:06:24 jschauma Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_ITCL_CURRENT_BUILDLINK3_MK:= ${TCL_ITCL_CURRENT_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= tcl-itcl-current
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-itcl-current}
BUILDLINK_PACKAGES+= tcl-itcl-current
.if !empty(TCL_ITCL_CURRENT_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.tcl-itcl-current+= tcl-itcl-current>=20040920
BUILDLINK_PKGSRCDIR.tcl-itcl-current?= ../../lang/tcl-itcl-current
BUILDLINK_TRANSFORM+= l:itcl:itcl33
BUILDLINK_TRANSFORM+= l:itk:itk33
.endif # TCL_ITCL_CURRENT_BUILDLINK3_MK
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}