Mon Jul 9 16:42:37 2012 UTC ()
The build system uses -fvisibility=hidden and -fvisibility-inlines-hidden
without checking if they are supported. Disable them via BUILDLINK_TRANSFORM
for MirBSD. Unbreaks the build.


(bsiegert)
diff -r0 -r1.1 pkgsrc/audio/libaudiofile/hacks.mk

File Added: pkgsrc/audio/libaudiofile/hacks.mk
# $NetBSD: hacks.mk,v 1.1 2012/07/09 16:42:37 bsiegert Exp $

# gcc in MirBSD does not recognize these options
.if ${OPSYS} == "MirBSD"
BUILDLINK_TRANSFORM+=	rm:-fvisibility=hidden rm:-fvisibility-inlines-hidden
.endif