net/samba4: needs --without-pie on NetBSD/powerpc. This is in contrast to ../net/samba which needs --disable-pie.diff -r1.1 -r1.2 pkgsrc/net/samba4/hacks.mk
(he)
@@ -1,3 +1,8 @@ | @@ -1,3 +1,8 @@ | |||
1 | # $NetBSD: hacks.mk,v 1.1 2015/05/12 12:19:52 ryoon Exp $ | 1 | # $NetBSD: hacks.mk,v 1.2 2022/06/21 09:47:49 he Exp $ | |
2 | 2 | |||
3 | .include "../../net/samba/hacks.mk" | 3 | # Enabling PIE results in a 'Unsupported relocation type 6 in non-PLT | |
4 | # relocations' error under NetBSD/macppc. | |||
5 | .if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc" | |||
6 | PKG_HACKS+= pie | |||
7 | CONFIGURE_ARGS+= --without-pie | |||
8 | .endif |