summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-16 12:46:51 +0000
committerjlam <jlam@pkgsrc.org>2004-01-16 12:46:51 +0000
commita18982b7ed4c4caa68b73f175700f9b3b0cbb2ec (patch)
tree2000c758b46ada86354d87e32c2611ee43191fa7 /lang/perl5
parentb669f4d31c7a1d20bb22dbe5c560e200f659fb73 (diff)
downloadpkgsrc-a18982b7ed4c4caa68b73f175700f9b3b0cbb2ec.tar.gz
Add a variable "PERL5_PATH" that's the full path to the actual perl
binary. This is different from ${PERL5} in that if perl is installed using pkgviews, then PERL5_PATH points within perl's depot directory.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/buildlink3.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/perl5/buildlink3.mk b/lang/perl5/buildlink3.mk
index 812275f4920..e692d70f6f7 100644
--- a/lang/perl5/buildlink3.mk
+++ b/lang/perl5/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2004/01/13 07:12:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2004/01/16 12:46:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PERL5_BUILDLINK3_MK:= ${PERL5_BUILDLINK3_MK}+
@@ -24,6 +24,8 @@ BUILDLINK_DEPENDS+= perl
.if !empty(PERL5_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= perl
+PERL5_PATH= ${BUILDLINK_PREFIX.perl}/bin/perl
+
_PERL5_SITEVARS= \
INSTALLSITEBIN INSTALLSITELIB INSTALLSITEARCH \
INSTALLSITEMAN1DIR INSTALLSITEMAN3DIR \