Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] build-style/perl-module: prepend not reset PERL5LIB
Date: Fri, 05 Feb 2021 10:58:09 +0100	[thread overview]
Message-ID: <20210205095809.FBK78kTLYKFOf9go2NbDY6Bmy9nfbEN4_z_4ElBH3pI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28513@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages build-style-perl-module-prepend-not-reset-PERL5LIB
https://github.com/void-linux/void-packages/pull/28513

build-style/perl-module: prepend not reset PERL5LIB


A patch file from https://github.com/void-linux/void-packages/pull/28513.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-build-style-perl-module-prepend-not-reset-PERL5LIB-28513.patch --]
[-- Type: text/x-diff, Size: 1150 bytes --]

From d102d4137cf8905f91c46ccbf00645423af7ba48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Fri, 5 Feb 2021 16:44:07 +0700
Subject: [PATCH] build-style/perl-module: append $PERL5LIB and $wrksrc into
 PERL5LIB

Fixing those build failure:

- perl-Crypt-DH
- perl-Curses-UI
- perl-Data-MessagePack
- perl-Encode-HanExtra
- perl-Gtk2-Notify
- perl-Plack-Middleware-Deflater
- perl-Text-Markdown
- perl-WWW-Curl
---
 common/build-style/perl-module.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/build-style/perl-module.sh b/common/build-style/perl-module.sh
index c2d5b8ddeca..8a4a4328644 100644
--- a/common/build-style/perl-module.sh
+++ b/common/build-style/perl-module.sh
@@ -27,7 +27,7 @@ do_configure() {
 		cp "/usr/lib/perl5/core_perl/Config"*.p? $perlprefix
 		cp "/usr/lib/perl5/core_perl/Errno.pm" $perlprefix
 	fi
-	export PERL5LIB=$perlprefix
+	export PERL5LIB="$perlprefix${PERL5LIB:+:$PERL5LIB}:$wrksrc"
 
 	if [ -f "${wrksrc}/Makefile.PL" ]; then
 		sed -i "s,/usr/include,${XBPS_CROSS_BASE}/usr/include,g" "${wrksrc}/Makefile.PL"

  parent reply	other threads:[~2021-02-05  9:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-05  9:46 [PR PATCH] " sgn
2021-02-05  9:51 ` [PR PATCH] [Updated] " sgn
2021-02-05  9:58 ` sgn [this message]
2021-02-05  9:58 ` sgn
2021-02-05 10:11 ` leahneukirchen
2021-02-05 10:13 ` leahneukirchen
2021-02-05 10:14 ` leahneukirchen
2021-02-05 10:20 ` sgn
2021-02-05 10:23 ` [PR PATCH] [Updated] " sgn
2021-02-06  6:11 ` [PR PATCH] [Merged]: build-style/perl-module: put . into @INC sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210205095809.FBK78kTLYKFOf9go2NbDY6Bmy9nfbEN4_z_4ElBH3pI@z \
    --to=sgn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).