a7d877ca6a
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives a value only once due to the multiple inclusion protection in the bulldlink3.mk files. In the case where a package includes several buildlink3.mk files that each want a slightly different version of another dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the strictest <pkg> dependency to be matched.
20 lines
498 B
Makefile
20 lines
498 B
Makefile
# $NetBSD: buildlink3.mk,v 1.4 2004/01/24 03:26:46 jlam Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
GLIB_BUILDLINK3_MK:= ${GLIB_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= glib
|
|
.endif
|
|
|
|
.if !empty(GLIB_BUILDLINK3_MK:M+)
|
|
BUILDLINK_PACKAGES+= glib
|
|
BUILDLINK_DEPENDS.glib+= glib>=1.2.10nb5
|
|
BUILDLINK_PKGSRCDIR.glib?= ../../devel/glib
|
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
. include "../../mk/pthread.buildlink3.mk"
|
|
.endif # GLIB_BUILDLINK3_MK
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|