summaryrefslogtreecommitdiff
path: root/devel/libtar/buildlink3.mk
blob: 5c7df57a76f0bc3be65cd0b1343560256aa606ae (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.3 2004/03/18 09:12:10 jlam Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LIBTAR_BUILDLINK3_MK:=	${LIBTAR_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibtar}
BUILDLINK_PACKAGES+=	libtar

.if !empty(LIBTAR_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.libtar+=	libtar>=1.2.11
BUILDLINK_PKGSRCDIR.libtar?=	../../devel/libtar
.endif	# LIBTAR_BUILDLINK3_MK

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

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