diff options
author | jlam <jlam> | 2002-10-19 01:52:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-19 01:52:30 +0000 |
commit | 6881a74d465e2ceebcd62217ee600461ab81c10e (patch) | |
tree | 1aeb0cf409f906b436e976708144f4835a42d20d /lang/libperl | |
parent | c33e388e065ce030f37f2dd27b99bc6501632954 (diff) | |
download | pkgsrc-6881a74d465e2ceebcd62217ee600461ab81c10e.tar.gz |
Add a buildlink2.mk file that allows for libperl or perl>=5.8.0.
Diffstat (limited to 'lang/libperl')
-rw-r--r-- | lang/libperl/buildlink2.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/libperl/buildlink2.mk b/lang/libperl/buildlink2.mk new file mode 100644 index 00000000000..9a2a939dfb3 --- /dev/null +++ b/lang/libperl/buildlink2.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/19 01:52:30 jlam Exp $ + +.if !defined(LIBPERL5_BUILDLINK2_MK) +LIBPERL5_BUILDLINK2_MK= # defined + +LIBPERL5_REQD?= ${PERL5_REQD} +BUILDLINK_PACKAGES+= libperl +BUILDLINK_DEPENDS.libperl?= {libperl>=${LIBPERL5_REQD},perl>=5.8.0} +BUILDLINK_PKGSRCDIR.libperl?= ../../lang/libperl + +EVAL_PREFIX+= BUILDLINK_PREFIX.libperl=libperl +BUILDLINK_PREFIX.libperl_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.libperl= \ + ${PERL5_ARCHLIB:S/^${BUILDLINK_PREFIX.perl}\///}/DynaLoader_pic.o + +.include "../../lang/perl5/buildlink2.mk" + +BUILDLINK_TARGETS+= libperl-buildlink + +libperl-buildlink: _BUILDLINK_USE + +.endif # LIBPERL5_BUILDLINK2_MK |