diff options
author | he <he@pkgsrc.org> | 2022-06-21 09:47:49 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2022-06-21 09:47:49 +0000 |
commit | 240ad4bcd40c807c3acda8d4c2d340e6ccd1657d (patch) | |
tree | a40f332744271e355a7c975905dbe0cb00748ae3 /net | |
parent | 8fcffc80d6202fa3d683977081478d79c4037961 (diff) | |
download | pkgsrc-240ad4bcd40c807c3acda8d4c2d340e6ccd1657d.tar.gz |
net/samba4: needs --without-pie on NetBSD/powerpc.
This is in contrast to ../net/samba which needs --disable-pie.
Diffstat (limited to 'net')
-rw-r--r-- | net/samba4/hacks.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net/samba4/hacks.mk b/net/samba4/hacks.mk index d9cbf3d7747..7fe4296ced8 100644 --- a/net/samba4/hacks.mk +++ b/net/samba4/hacks.mk @@ -1,3 +1,8 @@ -# $NetBSD: hacks.mk,v 1.1 2015/05/12 12:19:52 ryoon Exp $ +# $NetBSD: hacks.mk,v 1.2 2022/06/21 09:47:49 he Exp $ -.include "../../net/samba/hacks.mk" +# Enabling PIE results in a 'Unsupported relocation type 6 in non-PLT +# relocations' error under NetBSD/macppc. +.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc" +PKG_HACKS+= pie +CONFIGURE_ARGS+= --without-pie +.endif |