summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorahoka <ahoka>2008-12-20 11:00:43 +0000
committerahoka <ahoka>2008-12-20 11:00:43 +0000
commitf3cf6ce23b6c57517b202576a1460a074575d5ac (patch)
tree9454c6a77ffecf1ed0b34a6566cca281b67c8dbe /audio
parent29c6d4ec094e8cbd855782cca576b427368bc002 (diff)
downloadpkgsrc-f3cf6ce23b6c57517b202576a1460a074575d5ac.tar.gz
Needs libatomic_ops if the compiler is not >=GCC4.1.
Diffstat (limited to 'audio')
-rw-r--r--audio/pulseaudio/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 38c5c9f7329..b7e81b3d19a 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/12/18 18:43:52 jmcneill Exp $
+# $NetBSD: Makefile,v 1.3 2008/12/20 11:00:43 ahoka Exp $
#
DISTNAME= pulseaudio-0.9.13
@@ -60,6 +60,12 @@ PKG_USERS= ${PULSE_USER}:${PULSE_GROUP}
BUILDLINK_TRANSFORM+= rm:-Wl,--gc-sections
+# Needs libatomic_ops if the compiler is not >=GCC4.1
+.include "../../mk/compiler.mk"
+.if empty(CC_VERSION:Mgcc-4.[1-9]*) && empty(CC_VERSION:Mgcc-[5-9]*)
+. include "../../devel/libatomic_ops/buildlink3.mk"
+.endif
+
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../audio/speex/buildlink3.mk"