summaryrefslogtreecommitdiff
path: root/audio/libaudiofile
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
commit36b823c255b213579d505734889f740e7f9ee506 (patch)
treea8670b4400f4676b2675ece0d7db20f7b16bb526 /audio/libaudiofile
parent5ea91bac189b3ce156926fe0c74faa003eb556c6 (diff)
downloadpkgsrc-36b823c255b213579d505734889f740e7f9ee506.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/libaudiofile')
-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