pkgsrc/devel/libscsi/buildlink3.mk
2006-04-12 10:26:59 +00:00

19 lines
547 B
Makefile

# $NetBSD: buildlink3.mk,v 1.3 2006/04/12 10:27:11 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSCSI_BUILDLINK3_MK:= ${LIBSCSI_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= libscsi
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibscsi}
BUILDLINK_PACKAGES+= libscsi
.if !empty(LIBSCSI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libscsi+= libscsi>=1.6
BUILDLINK_PKGSRCDIR.libscsi?= ../../devel/libscsi
BUILDLINK_DEPMETHOD.libscsi?= build
.endif # LIBSCSI_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}