diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-04-21 15:25:16 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-04-21 15:26:06 +0000 |
commit | f8131093e99a950cef10b026d83f233b792935c4 (patch) | |
tree | 5b853054dc7ef79f3cd1eab0e3493f92fe66a3d3 | |
parent | 8c37ac4473c40c3a10fbbd609fc65fb61add9921 (diff) | |
download | ports-f8131093e99a950cef10b026d83f233b792935c4.tar.gz ports-f8131093e99a950cef10b026d83f233b792935c4.zip |
www/node18: fix patching on powerpc64*
-rw-r--r-- | www/node18/files/extra-patch-common.gypi | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/www/node18/files/extra-patch-common.gypi b/www/node18/files/extra-patch-common.gypi index 8e817a2959c9..02db35b1a46c 100644 --- a/www/node18/files/extra-patch-common.gypi +++ b/www/node18/files/extra-patch-common.gypi @@ -1,13 +1,11 @@ ---- common.gypi.orig 2019-10-01 15:32:40.000000000 +0200 -+++ common.gypi 2019-10-16 12:47:09.236138000 +0200 -@@ -390,8 +390,8 @@ +--- common.gypi.orig 2023-04-12 04:09:10 UTC ++++ common.gypi +@@ -426,7 +426,7 @@ 'ldflags': [ '-m32' ], }], - [ 'target_arch=="ppc64" and OS!="aix"', { + [ 'target_arch=="ppc64" and OS not in "aix os400"', { - 'cflags': [ '-m64', '-mminimal-toc' ], -- 'ldflags': [ '-m64' ], + 'cflags': [ '-m64' ], -+ 'ldflags': [ '-m64' ], + 'ldflags': [ '-m64' ], }], - [ 'target_arch=="s390x"', { - 'cflags': [ '-m64', '-march=z196' ], + [ 'target_arch=="s390x" and OS=="linux"', { |