Index: head/devel/pcre2/Makefile =================================================================== --- head/devel/pcre2/Makefile +++ head/devel/pcre2/Makefile @@ -3,7 +3,7 @@ PORTNAME= pcre2 PORTVERSION= 10.32 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF/pcre/${PORTNAME}/${PORTVERSION} \ ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \ Index: head/devel/pcre2/files/patch-src_sljit_sljitConfigInternal.h =================================================================== --- head/devel/pcre2/files/patch-src_sljit_sljitConfigInternal.h +++ head/devel/pcre2/files/patch-src_sljit_sljitConfigInternal.h @@ -0,0 +1,11 @@ +--- src/sljit/sljitConfigInternal.h.orig 2018-08-13 10:18:10 UTC ++++ src/sljit/sljitConfigInternal.h +@@ -530,7 +530,7 @@ typedef double sljit_f64; + #endif /* !SLJIT_FUNC */ + + #ifndef SLJIT_INDIRECT_CALL +-#if ((defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64) && (defined SLJIT_BIG_ENDIAN && SLJIT_BIG_ENDIAN)) \ ++#if ((defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64) && (!defined _CALL_ELF || _CALL_ELF == 1)) \ + || ((defined SLJIT_CONFIG_PPC_32 && SLJIT_CONFIG_PPC_32) && defined _AIX) + /* It seems certain ppc compilers use an indirect addressing for functions + which makes things complicated. */ Index: head/devel/pcre2/files/patch-src_sljit_sljitNativePPC__common.c =================================================================== --- head/devel/pcre2/files/patch-src_sljit_sljitNativePPC__common.c +++ head/devel/pcre2/files/patch-src_sljit_sljitNativePPC__common.c @@ -0,0 +1,11 @@ +--- src/sljit/sljitNativePPC_common.c.orig 2018-01-06 15:12:56 UTC ++++ src/sljit/sljitNativePPC_common.c +@@ -42,7 +42,7 @@ typedef sljit_u32 sljit_ins; + #include + #endif + +-#if (defined SLJIT_LITTLE_ENDIAN && SLJIT_LITTLE_ENDIAN) ++#if (defined _CALL_ELF && _CALL_ELF == 2) + #define SLJIT_PASS_ENTRY_ADDR_TO_CALL 1 + #endif +