summaryrefslogtreecommitdiff
path: root/devel/libgetopt/buildlink3.mk
blob: aeb84d5edce2ae06740178c691718ed4c8c46960 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:44 jlam Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
LIBGETOPT_BUILDLINK3_MK:=	${LIBGETOPT_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Ngetopt}
BUILDLINK_PACKAGES+=	getopt
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}getopt

.if !empty(LIBGETOPT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.getopt+=	libgetopt>=1.3
BUILDLINK_PKGSRCDIR.getopt?=	../../devel/libgetopt
.endif	# LIBGETOPT_BUILDLINK3_MK

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