summaryrefslogtreecommitdiff
path: root/devel/popt/buildlink3.mk
blob: 7e8ab9c6aac5db006a43b46640cecf292f2ecb69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:47 jlam Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
POPT_BUILDLINK3_MK:=	${POPT_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Npopt}
BUILDLINK_PACKAGES+=	popt
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}popt

.if !empty(POPT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.popt+=	popt>=1.7nb3
BUILDLINK_ABI_DEPENDS.popt+=	popt>=1.7nb6
BUILDLINK_PKGSRCDIR.popt?=	../../devel/popt
.endif	# POPT_BUILDLINK3_MK

.include "../../devel/gettext-lib/buildlink3.mk"

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