Files
macports-ports/lang/MoarVM/files/patch-setup.pm.diff

23 lines
969 B
Diff

--- build/setup.pm.orig 2022-12-05 00:49:38.000000000 +0700
+++ build/setup.pm 2022-12-28 07:54:50.000000000 +0700
@@ -137,7 +137,7 @@
ldshared => '-shared @ccshared@',
moarshared_norelocatable => '',
moarshared_relocatable => '',
- ldrpath => '-Wl,-rpath,"/@libdir@"',
+ ldrpath => '-Wl,-rpath,"@libdir@"',
ldrpath_relocatable => '-Wl,-z,origin,-rpath,\'$$ORIGIN/../lib\'',
arflags => 'rcs',
@@ -521,8 +521,8 @@
defs => [ qw( _ALL_SOURCE _XOPEN_SOURCE=500 _LINUX_SOURCE_COMPAT ) ],
syslibs => [ @{$OS_POSIX{syslibs}}, qw( rt dl perfstat ) ],
ldmiscflags => '-Wl,-brtl',
- ldrpath => '-L"/@libdir@"',
- ldrpath_relocatable => '-L"/@libdir@"',
+ ldrpath => '-L"@libdir@"',
+ ldrpath_relocatable => '-L"@libdir@"',
-thirdparty => {
uv => { %TP_UVDUMMY, objects => '$(UV_AIX)' },