perl: fix not a Mach-O file on macOS
authorGeorgi Valkov <gvalkov@gmail.com>
Sat, 20 Apr 2024 15:46:18 +0000 (18:46 +0300)
committerRosen Penev <rosenp@gmail.com>
Wed, 24 Apr 2024 02:00:11 +0000 (19:00 -0700)
commit847a535a3be1df80c528931dfdaf4c4107a0b21d
tree38b597f7c8273b080a3f5df06381152768952fe2
parent70a44730fdff32fc902ce5b6ba279cad5011a811
perl: fix not a Mach-O file on macOS

Reverts [1] to resolve the following build error on macOS:

/Volumes/wrt3200/openwrt/staging_dir/hostpkg/usr/bin/perl installperl --destdir=/Volumes/wrt3200/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/perl/perl-5.38.2/ipkg-install
WARNING: You've never run 'make test' or some tests failed! (Installing anyway.)
  /usr/bin/perl5.38.2
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: input file: /Volumes/wrt3200/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/perl/perl-5.38.2/ipkg-install/usr/bin/perl5.38.2 is not a Mach-O file

[1] https://github.com/Perl/perl5/commit/88efce38149481334db7ddb932f9b74eaaa9765b

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
lang/perl/Makefile
lang/perl/patches/920-Revert-perl-127606-adjust-dependency-paths-on-instal.patch [new file with mode: 0644]