5e43280b23
The redundant parsing of bsd.prefs.mk is mostly avoided now and parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
27 lines
878 B
Makefile
27 lines
878 B
Makefile
# $NetBSD: buildlink3.mk,v 1.9 2006/12/12 21:52:36 joerg Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
SANE_BACKENDS_BUILDLINK3_MK:= ${SANE_BACKENDS_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= sane-backends
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsane-backends}
|
|
BUILDLINK_PACKAGES+= sane-backends
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sane-backends
|
|
|
|
.if !empty(SANE_BACKENDS_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.sane-backends+= sane-backends>=1.0.3
|
|
BUILDLINK_ABI_DEPENDS.sane-backends+= sane-backends>=1.0.17nb1
|
|
BUILDLINK_PKGSRCDIR.sane-backends?= ../../graphics/sane-backends
|
|
.endif # SANE_BACKENDS_BUILDLINK3_MK
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
.if (${OPSYS} != "SunOS")
|
|
. include "../../devel/libusb/buildlink3.mk"
|
|
.endif
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|