pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/samba4 net/samba4: needs --without-pie on NetBSD/p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c7a0fbbc55e0
branches: trunk
changeset: 380964:c7a0fbbc55e0
user: he <he%pkgsrc.org@localhost>
date: Tue Jun 21 09:47:49 2022 +0000
description:
net/samba4: needs --without-pie on NetBSD/powerpc.
This is in contrast to ../net/samba which needs --disable-pie.
diffstat:
net/samba4/hacks.mk | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 104c1bedb1b9 -r c7a0fbbc55e0 net/samba4/hacks.mk
--- a/net/samba4/hacks.mk Tue Jun 21 03:42:10 2022 +0000
+++ b/net/samba4/hacks.mk Tue Jun 21 09:47:49 2022 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index