Add this, required by a new pkg.

This commit is contained in:
xtraeme 2007-02-20 23:16:18 +00:00
parent 336e273688
commit 9c90393702

View file

@ -0,0 +1,22 @@
# $NetBSD: buildlink3.mk,v 1.1 2007/02/20 23:16:18 xtraeme Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBARCHIVE_BUILDLINK3_MK:= ${LIBARCHIVE_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= libarchive
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibarchive}
BUILDLINK_PACKAGES+= libarchive
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libarchive
.if ${LIBARCHIVE_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libarchive+= libarchive>=1.3.1
BUILDLINK_PKGSRCDIR.libarchive?= ../../archivers/libarchive
.endif # LIBARCHIVE_BUILDLINK3_MK
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}