pkgsrc-wip/xproto/buildlink3.mk
Jeremy C. Reed 3148472d67 Saw similar changes this morning to many pkgsrc buildlink3.mk files.
This is to fix a bug in properly ordering the packages listed
in BUILDLINK_PACKAGES.
2004-03-18 15:40:55 +00:00

21 lines
577 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2004/03/18 15:40:57 jeremy-c-reed Exp $
#
# This Makefile fragment is included by packages that use xproto.
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XPROTO_BUILDLINK3_MK:= ${XPROTO_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= xproto
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxproto}
BUILDLINK_PACKAGES+= xproto
.if !empty(XPROTO_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.xproto?= xproto>=6.6
BUILDLINK_PKGSRCDIR.xproto?= ../../wip/xproto
.endif # XPROTO_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}