diff options
Diffstat (limited to 'lang/libperl/buildlink3.mk')
-rw-r--r-- | lang/libperl/buildlink3.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/libperl/buildlink3.mk b/lang/libperl/buildlink3.mk new file mode 100644 index 00000000000..c410f8be273 --- /dev/null +++ b/lang/libperl/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBPERL_BUILDLINK3_MK:= ${LIBPERL_BUILDLINK3_MK}+ + +.if !empty(LIBPERL_BUILDLINK3_MK:M\+) +LIBPERL5_REQD?= ${PERL5_REQD} +BUILDLINK_DEPENDS.libperl?= {libperl>=${LIBPERL5_REQD},perl>=5.8.0} +BUILDLINK_PKGSRCDIR.libperl?= ../../lang/libperl +.endif # LIBPERL_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= libperl +.endif + +.if !empty(LIBPERL_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= libperl + +. include "../../lang/perl5/buildlink3.mk" +.endif # LIBPERL_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} |