33 lines
877 B
Makefile
33 lines
877 B
Makefile
# $NetBSD: buildlink3.mk,v 1.16 2006/02/05 23:11:43 joerg Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
TK_BUILDLINK3_MK:= ${TK_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= tk
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntk}
|
|
BUILDLINK_PACKAGES+= tk
|
|
|
|
.if !empty(TK_BUILDLINK3_MK:M+)
|
|
BUILDLINK_DEPENDS.tk+= tk>=8.4.6nb1
|
|
BUILDLINK_RECOMMENDED.tk+= tk>=8.4.12nb1
|
|
BUILDLINK_PKGSRCDIR.tk?= ../../x11/tk
|
|
|
|
BUILDLINK_FILES.tk= bin/wish*
|
|
#
|
|
# Make "-ltk" and "-ltk8.4" resolve into "-ltk84", so that we don't
|
|
# need to patch so many Makefiles.
|
|
#
|
|
BUILDLINK_TRANSFORM+= l:tk:tk84
|
|
BUILDLINK_TRANSFORM+= l:tk8.4:tk84
|
|
.endif # TK_BUILDLINK3_MK
|
|
|
|
TKCONFIG_SH?= ${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh
|
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/x11.buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|