pkgsrc/net/samba/hacks.mk
jmmv 929a8fdf0b Disable PIE on NetBSD/macppc to fix use of unsupported relocation type in.
Samba 3.0 and 3.3.  They were completely broken before this.

Bump PKGREVISION for both samba and samba33.

Fix from PR pkg/38961 by Makoto Fujiwara <makoto at ki dot nu>.
2010-03-08 22:19:07 +00:00

8 lines
282 B
Makefile

# $NetBSD: hacks.mk,v 1.1 2010/03/08 22:19:07 jmmv 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