summaryrefslogtreecommitdiff
path: root/archivers/libzip/buildlink3.mk
blob: c94749f07d83b882fdf262fa6b18924225b010d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/06/22 21:11:39 dillo Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LIBZIP_BUILDLINK3_MK:=	${LIBZIP_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	libzip
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibzip}
BUILDLINK_PACKAGES+=	libzip

.if !empty(LIBZIP_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.libzip+=	libzip>=0.6
BUILDLINK_PKGSRCDIR.libzip?=	../../archivers/libzip
.endif	# LIBZIP_BUILDLINK3_MK

.include "../../devel/zlib/buildlink3.mk"

BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}