summaryrefslogtreecommitdiff
path: root/lang/libperl/buildlink3.mk
blob: c06ec5a6f7026a77b3b746c0047710020edad191 (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.5 2004/02/10 02:18:04 jlam Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LIBPERL_BUILDLINK3_MK:=	${LIBPERL_BUILDLINK3_MK}+

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

.if !empty(LIBPERL_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+=		libperl
BUILDLINK_DEPENDS.libperl+=	{libperl>=${LIBPERL5_REQD},perl>=5.8.0}
BUILDLINK_PKGSRCDIR.libperl?=	../../lang/libperl

LIBPERL5_REQD?=		${_PERL5_REQD}

.  include "../../lang/perl5/buildlink3.mk"
.endif	# LIBPERL_BUILDLINK3_MK

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