summaryrefslogtreecommitdiff
path: root/devel/libgetopt/buildlink3.mk
blob: 09b9b67275dc7b2dd79f8af67b4dad4750339667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: buildlink3.mk,v 1.8 2004/05/17 21:32:34 seb 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

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

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