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
653 B
Makefile
22 lines
653 B
Makefile
# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:36 jlam Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
ID3LIB_BUILDLINK3_MK:= ${ID3LIB_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= id3lib
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nid3lib}
|
|
BUILDLINK_PACKAGES+= id3lib
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}id3lib
|
|
|
|
.if !empty(ID3LIB_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.id3lib+= id3lib>=3.8.3
|
|
BUILDLINK_ABI_DEPENDS.id3lib+= id3lib>=3.8.3nb1
|
|
BUILDLINK_PKGSRCDIR.id3lib?= ../../audio/id3lib
|
|
.endif # ID3LIB_BUILDLINK3_MK
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|