pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/pulseaudio Needs libatomic_ops if the compiler i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/020042c4f0b9
branches: trunk
changeset: 551806:020042c4f0b9
user: ahoka <ahoka%pkgsrc.org@localhost>
date: Sat Dec 20 11:00:43 2008 +0000
description:
Needs libatomic_ops if the compiler is not >=GCC4.1.
diffstat:
audio/pulseaudio/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r dbd622613b8a -r 020042c4f0b9 audio/pulseaudio/Makefile
--- a/audio/pulseaudio/Makefile Sat Dec 20 10:31:21 2008 +0000
+++ b/audio/pulseaudio/Makefile Sat Dec 20 11:00:43 2008 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index