Merge from vendor branch TNF:
[pkgsrcv2.git] / net / samba / hacks.mk
1 # $NetBSD$
2
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"
6 PKG_HACKS+=             pie
7 CONFIGURE_ARGS+=        --disable-pie
8 .endif