Skip to content

Commit

Permalink
Merge branch 'rules_perl-includes_attr' into rules_cpan
Browse files Browse the repository at this point in the history
  • Loading branch information
lalten committed Aug 18, 2024
2 parents e6c4479 + 05b315b commit b93d723
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions modules/rules_perl/0.2.3.bcr.1/patches/data_dep_path_prefix.patch
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
From dd80f71045c8546874757f6605edae9997b795f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Laurenz=20Altenm=C3=BCller?=
<[email protected]>
Date: Sun, 18 Aug 2024 14:29:26 +0200
Subject: [PATCH] Set `PATH_PREFIX=./` instead of failing

---
perl/binary_wrapper.tpl | 3 +--
test/data_dep/BUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+), 2 deletions(-)
create mode 100644 test/data_dep/BUILD

diff --git a/perl/binary_wrapper.tpl b/perl/binary_wrapper.tpl
index 035523a..292e370 100644
index f1cb98d..16e60b5 100644
--- a/perl/binary_wrapper.tpl
+++ b/perl/binary_wrapper.tpl
@@ -7,8 +7,7 @@ elif [ -s `dirname $0`/../../MANIFEST ]; then
Expand All @@ -23,7 +11,7 @@ index 035523a..292e370 100644
+ PATH_PREFIX=./
fi

{env_vars} $PATH_PREFIX{interpreter} -I${PATH_PREFIX} ${PATH_PREFIX}{main} "$@"
export PERL5LIB="$PERL5LIB{PERL5LIB}"
diff --git a/test/data_dep/BUILD b/test/data_dep/BUILD
new file mode 100644
index 0000000..00fc8a3
Expand Down
2 changes: 1 addition & 1 deletion modules/rules_perl/0.2.3.bcr.1/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"patches": {
"module_dot_bazel_version.patch": "sha256-Y0BrkWPmdnM0kl5km1XIZaCG6W6Xrw7ikSW1gG5xVZk=",
"includes_attr.patch": "sha256-API7sgc2Q8dC1tdZmX/ac+CHOdpXL17uP04y/e9QS8o=",
"data_dep_path_prefix.patch": "sha256-BCbvVi3eD8Qxhh9QvpLokgBzVyG+HD5jQPXlmxZPQeg="
"data_dep_path_prefix.patch": "sha256-MjSCV4AV5baYzaOaAfkSVq/0TRJ/LVKcop3E48umw4w="
},
"patch_strip": 1
}

0 comments on commit b93d723

Please sign in to comment.