Skip to content

Commit a66243f

Browse files
authored
Rebuild perl-unicode-utf8-arm recipe (#64195)
1 parent 3a52419 commit a66243f

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

recipes/perl-unicode-utf8/build.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
#!/bin/bash
2+
set -o errexit -o pipefail
23

3-
# If it has Build.PL use that, otherwise use Makefile.PL
4-
if [ -f Build.PL ]; then
4+
export LC_ALL="en_US.UTF-8"
5+
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
6+
7+
if [[ -f Build.PL ]]; then
58
perl Build.PL
69
perl ./Build
710
perl ./Build test
811
# Make sure this goes in site
912
perl ./Build install --installdirs site
10-
elif [ -f Makefile.PL ]; then
13+
elif [[ -f Makefile.PL ]]; then
1114
# Make sure this goes in site
12-
perl Makefile.PL INSTALLDIRS=site
13-
make
15+
perl Makefile.PL INSTALLDIRS=site NO_PACKLIST=1 NO_PERLLOCAL=1
16+
make -j"${CPU_COUNT}"
1417
make test
1518
make install
1619
else

recipes/perl-unicode-utf8/meta.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,18 @@ package:
77
version: {{ version }}
88

99
source:
10-
url: https://cpan.metacpan.org/authors/id/C/CH/CHANSEN/Unicode-UTF8-0.66.tar.gz
10+
url: https://cpan.metacpan.org/authors/id/C/CH/CHANSEN/Unicode-UTF8-{{ version }}.tar.gz
1111
sha256: {{ sha256 }}
1212

1313
build:
14+
number: 1
1415
run_exports:
1516
- {{ pin_subpackage(name, max_pin="x.x") }}
16-
number: 0
1717

1818
requirements:
1919
build:
2020
- make
2121
- {{ compiler('cxx') }}
22-
2322
host:
2423
- perl
2524
- perl-test-fatal
@@ -37,11 +36,12 @@ test:
3736
- Unicode::UTF8
3837

3938
about:
40-
home: http://metacpan.org/pod/Unicode::UTF8
41-
license: perl_5
42-
summary: 'Encoding and decoding of UTF-8 encoding form'
39+
home: "https://metacpan.org/pod/Unicode::UTF8"
40+
license: "Perl_5"
41+
summary: "Encoding and decoding of UTF-8 encoding form."
42+
doc_url: "https://metacpan.org/pod/Unicode::UTF8"
4343

4444
extra:
45-
# osx-arm64 is erroring due to missing perl-encode in conda forge
4645
additional-platforms:
4746
- linux-aarch64
47+
- osx-arm64

0 commit comments

Comments
 (0)