and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
22 lines
703 B
Makefile
22 lines
703 B
Makefile
# $NetBSD: buildlink3.mk,v 1.27 2006/07/08 23:10:42 jlam Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
GETTEXT_BUILDLINK3_MK:= ${GETTEXT_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= gettext
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngettext}
|
|
BUILDLINK_PACKAGES+= gettext
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gettext
|
|
|
|
.if !empty(GETTEXT_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.14.5
|
|
BUILDLINK_PKGSRCDIR.gettext?= ../../devel/gettext-lib
|
|
.endif # GETTEXT_BUILDLINK3_MK
|
|
|
|
# Let the gettext-lib/builtin.mk pull in libiconv if it's needed.
|
|
#.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|