e464fcb387
its presence. Bump BUILDLINK_DEPENDS to the latest version. Evaluate the contents of buildlink3.mk only if we're on Darwin, which lets us simply .include "../../devel/dlcompat/buildlink3.mk" anywhere we might need it without affecting other platforms.
22 lines
568 B
Makefile
22 lines
568 B
Makefile
# $NetBSD: buildlink3.mk,v 1.6 2004/07/18 09:35:08 schmonz Exp $
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
DLCOMPAT_BUILDLINK3_MK:= ${DLCOMPAT_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= dlcompat
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndlcompat}
|
|
BUILDLINK_PACKAGES+= dlcompat
|
|
|
|
.if !empty(DLCOMPAT_BUILDLINK3_MK:M+)
|
|
BUILDLINK_DEPENDS.dlcompat+= dlcompat>=20030629
|
|
BUILDLINK_PKGSRCDIR.dlcompat?= ../../devel/dlcompat
|
|
.endif # DLCOMPAT_BUILDLINK3_MK
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
|
|
|
.endif # OPSYS
|