From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] perl: change config
Date: Fri, 24 Sep 2021 16:51:58 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33089@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
There is a new pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages perl
https://github.com/void-linux/void-packages/pull/33089
perl: change config
at least when not cross-compiling, using Configure instead of configure
gets rid of test errors on musl and i686
only one error left, in my local tests
Do you think this is worth changing?
A patch file from https://github.com/void-linux/void-packages/pull/33089.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-perl-33089.patch --]
[-- Type: text/x-diff, Size: 1722 bytes --]
From e219e8bc1fe36c0e05d90d0e4516858a96dfd8a8 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Sep 2021 15:07:06 +0200
Subject: [PATCH] perl: change config
---
srcpkgs/perl/template | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/srcpkgs/perl/template b/srcpkgs/perl/template
index da223660988a..4150aa9d8b8d 100644
--- a/srcpkgs/perl/template
+++ b/srcpkgs/perl/template
@@ -160,10 +160,6 @@ do_configure() {
-Dman3dir=/usr/share/man/man3
-Dd_sockaddr_in6=define"
- if [ "$CROSS_BUILD" ]; then
- _args+=" --target=$XBPS_CROSS_TRIPLET"
- fi
-
LDFLAGS+=" -Wl,-z,stack-size=2097152 -pthread"
export HOSTLDFLAGS+=" -pthread"
@@ -175,15 +171,24 @@ do_configure() {
fi
export LD="$CC"
- ./configure --prefix=/usr $_args \
- -Dcccdlflags="-fPIC" \
- -Doptimize=" -Wall ${CFLAGS} " -Dccflags=" ${CFLAGS} " \
- -Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}" \
- -Dperl_static_inline='static __inline__' -Dd_static_inline ||
- {
- cat ./config.log
- return 42
- }
+ if [ "$CROSS_BUILD" ]; then
+ _args+=" --target=$XBPS_CROSS_TRIPLET"
+ ./configure --prefix=/usr $_args \
+ -Dcccdlflags="-fPIC" \
+ -Doptimize=" -Wall ${CFLAGS} " -Dccflags=" ${CFLAGS} " \
+ -Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}" \
+ -Dperl_static_inline='static __inline__' -Dd_static_inline ||
+ {
+ cat ./config.log
+ return 42
+ }
+ else
+ ./Configure -des $_args \
+ -Dcccdlflags="-fPIC" \
+ -Doptimize=" -Wall ${CFLAGS} " -Dccflags=" ${CFLAGS} " \
+ -Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}" \
+ -Dperl_static_inline='static __inline__' -Dd_static_inline
+ fi
}
do_check() {
next reply other threads:[~2021-09-24 14:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-24 14:51 dkwo [this message]
2021-09-24 15:01 ` [wip/rfc] " leahneukirchen
2021-09-24 15:25 ` dkwo
2021-09-24 15:25 ` dkwo
2021-09-24 15:29 ` [PR PATCH] [Updated] " dkwo
2021-09-24 15:31 ` dkwo
2021-09-24 21:45 ` dkwo
2021-09-24 21:55 ` dkwo
2021-09-25 9:05 ` dkwo
2021-09-25 19:31 ` [PR PATCH] [Updated] " dkwo
2021-09-25 20:16 ` dkwo
2021-09-27 15:47 ` leahneukirchen
2021-09-30 15:50 ` [PR PATCH] [Updated] " dkwo
2021-09-30 15:54 ` dkwo
2021-09-30 15:55 ` dkwo
2022-01-02 8:33 ` dkwo
2022-01-02 8:33 ` [PR PATCH] [Closed]: " dkwo
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33089@inbox.vuxu.org \
--to=dkwo@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).