Tue Jun 21 09:47:49 2022 UTC ()
net/samba4: needs --without-pie on NetBSD/powerpc.

This is in contrast to ../net/samba which needs --disable-pie.


(he)
diff -r1.1 -r1.2 pkgsrc/net/samba4/hacks.mk

cvs diff -r1.1 -r1.2 pkgsrc/net/samba4/hacks.mk (expand / switch to unified diff)

--- pkgsrc/net/samba4/hacks.mk 2015/05/12 12:19:52 1.1
+++ pkgsrc/net/samba4/hacks.mk 2022/06/21 09:47:49 1.2
@@ -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"
 6PKG_HACKS+= pie
 7CONFIGURE_ARGS+= --without-pie
 8.endif