Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: build-style/perl-module: prepend not reset PERL5LIB
Date: Fri, 05 Feb 2021 11:20:21 +0100	[thread overview]
Message-ID: <20210205102021.21jropzc-cDUQocsipRtnUadMJsIKO7hxtOwpqBmcIg@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: 1198 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/28513#issuecomment-773940497

Comment:
I guess you meant:
```diff
diff --git a/common/build-style/perl-module.sh b/common/build-style/perl-module.sh
index 8a4a432864..2611e0b8e0 100644
--- a/common/build-style/perl-module.sh
+++ b/common/build-style/perl-module.sh
@@ -45,7 +45,7 @@ do_configure() {
 			CFLAGS="$CFLAGS -I${XBPS_CROSS_BASE}/usr/include" \
 			LDFLAGS="$LDFLAGS -L${XBPS_CROSS_BASE}/usr/lib -lperl" \
 			LDDLFLAGS="-shared $CFLAGS -L${XBPS_CROSS_BASE}/usr/lib" \
-			perl Makefile.PL ${configure_args} INSTALLDIRS=vendor
+			perl -I. Makefile.PL ${configure_args} INSTALLDIRS=vendor
 	fi
 
 	for i in ${perl_configure_dirs}; do
@@ -57,7 +57,7 @@ do_configure() {
 				CFLAGS="$CFLAGS -I${XBPS_CROSS_BASE}/usr/include" \
 				LDFLAGS="$LDFLAGS -L${XBPS_CROSS_BASE}/usr/lib -lperl" \
 				LDDLFLAGS="-shared $CFLAGS -L${XBPS_CROSS_BASE}/usr/lib -lperl" \
-				perl Makefile.PL ${make_build_args} INSTALLDIRS=vendor
+				perl -I. Makefile.PL ${make_build_args} INSTALLDIRS=vendor
 		else
 			msg_error "*** ERROR: couldn't find $perlmkf, aborting **\n"
 		fi
```

  parent reply	other threads:[~2021-02-05 10:20 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
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 [this message]
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=20210205102021.21jropzc-cDUQocsipRtnUadMJsIKO7hxtOwpqBmcIg@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).