Github messages for voidlinux
 help / color / mirror / Atom feed
From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [wip/rfc] perl: change config
Date: Fri, 24 Sep 2021 17:29:08 +0200	[thread overview]
Message-ID: <20210924152908.sl2ZL9n04GMz1hmY0xV_rAu7hZN6hWMvDPilNcOhgl4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33089@inbox.vuxu.org>

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

There is an updated 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

[wip/rfc] 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, the same for everybody:
```
Failed 1 test out of 2534, 99.96% okay.
	porting/checkcase.t
```
Do you think this is worth changing? @leahneukirchen 

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: 1738 bytes --]

From c646c7bef9a3852400dcfd533f53a88d997da852 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 | 32 +++++++++++++++++++-------------
 1 file changed, 19 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/perl/template b/srcpkgs/perl/template
index da223660988a..590936cf4328 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,25 @@ 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
+fi
+		./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() {

  parent reply	other threads:[~2021-09-24 15:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-24 14:51 [PR PATCH] " dkwo
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 ` dkwo [this message]
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=20210924152908.sl2ZL9n04GMz1hmY0xV_rAu7hZN6hWMvDPilNcOhgl4@z \
    --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).