From b11b4118aa40ed1dadf46c800af0965608ede4a6 Mon Sep 17 00:00:00 2001 From: branch-fixup Date: Mon, 8 Mar 2010 22:19:07 +0000 Subject: [PATCH] Add files from parent branch HEAD: net/samba/hacks.mk net/samba33/hacks.mk --- net/samba/hacks.mk | 8 ++++++++ net/samba33/hacks.mk | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 net/samba/hacks.mk create mode 100644 net/samba33/hacks.mk diff --git a/net/samba/hacks.mk b/net/samba/hacks.mk new file mode 100644 index 000000000000..bb62f117c323 --- /dev/null +++ b/net/samba/hacks.mk @@ -0,0 +1,8 @@ +# $NetBSD$ + +# 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 diff --git a/net/samba33/hacks.mk b/net/samba33/hacks.mk new file mode 100644 index 000000000000..3f8382338e5d --- /dev/null +++ b/net/samba33/hacks.mk @@ -0,0 +1,3 @@ +# $NetBSD$ + +.include "../../net/samba/hacks.mk" -- 2.41.0