summaryrefslogtreecommitdiff
path: root/net/samba30/hacks.mk
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba30/hacks.mk')
-rw-r--r--net/samba30/hacks.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/samba30/hacks.mk b/net/samba30/hacks.mk
new file mode 100644
index 00000000000..4d0cf335298
--- /dev/null
+++ b/net/samba30/hacks.mk
@@ -0,0 +1,8 @@
+# $NetBSD: hacks.mk,v 1.1.1.1 2011/12/15 22:23:24 asau Exp $
+
+# 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+= --disable-pie
+.endif