summaryrefslogtreecommitdiff
path: root/archivers/libarchive/buildlink3.mk
blob: 7f8545b2f4e08089c21d5a14fa957145a533a71b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: buildlink3.mk,v 1.6 2011/11/13 08:11:28 sbd Exp $

BUILDLINK_TREE+=	libarchive

.if !defined(LIBARCHIVE_BUILDLINK3_MK)
LIBARCHIVE_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.libarchive+=	libarchive>=2.2
BUILDLINK_ABI_DEPENDS.libarchive?=	libarchive>=2.8.4nb1
BUILDLINK_PKGSRCDIR.libarchive?=	../../archivers/libarchive

CHECK_BUILTIN.libarchive:=     yes
.include "../../archivers/libarchive/builtin.mk"
CHECK_BUILTIN.libarchive:=     no

# A built-in libarchive is always using built-in zlib, bzip2, and xz.
.if empty(USE_BUILTIN.libarchive:M[yY][eE][sS])
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.endif
.endif # LIBARCHIVE_BUILDLINK3_MK

BUILDLINK_TREE+=	-libarchive