summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2012-07-09 16:42:37 +0000
committerbsiegert <bsiegert@pkgsrc.org>2012-07-09 16:42:37 +0000
commit9180246540d29c6cd899a5442e379ea427c7ab06 (patch)
treea8670b4400f4676b2675ece0d7db20f7b16bb526 /audio
parentf96d6567e46b9e1a96995b2bd37aa374d11903b9 (diff)
downloadpkgsrc-9180246540d29c6cd899a5442e379ea427c7ab06.tar.gz
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.
Diffstat (limited to 'audio')
-rw-r--r--audio/libaudiofile/hacks.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/libaudiofile/hacks.mk b/audio/libaudiofile/hacks.mk
new file mode 100644
index 00000000000..6833dbc005d
--- /dev/null
+++ b/audio/libaudiofile/hacks.mk
@@ -0,0 +1,6 @@
+# $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