summaryrefslogtreecommitdiff
path: root/devel/libelf/buildlink3.mk
blob: 7dd845e4de8f5d5f9edc83d31c2a3b3f81fe1116 (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.1 2004/08/13 07:09:01 cube Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LIBELF_BUILDLINK3_MK:=	${LIBELF_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibelf}
BUILDLINK_PACKAGES+=	libelf

.if !empty(LIBELF_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.libelf+=	libelf>=0.8.5
BUILDLINK_PKGSRCDIR.libelf?=	../../devel/libelf
BUILDLINK_DEPMETHOD.libelf?=	build
.endif	# LIBELF_BUILDLINK3_MK

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