summaryrefslogtreecommitdiff
path: root/audio/pulseaudio
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-12-22 03:32:11 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-12-22 03:32:11 +0000
commit5b446446bff0511048412cea9e834b36627e73da (patch)
treea572a8e4c2eab88c718d71f8a244d7442f01e3ab /audio/pulseaudio
parentdb88398970dbe8738846d677177868d09f421063 (diff)
downloadpkgsrc-5b446446bff0511048412cea9e834b36627e73da.tar.gz
Update comment about atomic ops to reflect the current situation, no
functional change.
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r--audio/pulseaudio/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index a67be82e31d..9c5e2042efe 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/12/22 02:50:09 jmcneill Exp $
+# $NetBSD: Makefile,v 1.9 2008/12/22 03:32:11 jmcneill Exp $
#
DISTNAME= pulseaudio-0.9.13
@@ -67,13 +67,12 @@ PKG_USERS= ${PULSE_USER}:${PULSE_GROUP}
BUILDLINK_TRANSFORM+= rm:-Wl,--gc-sections
-# Needs libatomic_ops if the compiler is not >=GCC4.1
-# We can use native atomic operation on 5.0 and newer.
-#
+# Use native atomic ops on NetBSD >= 5.0, otherwise
+# fallback to libatomic_ops
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/atomic.h)
- CONFIGURE_ARGS+= --enable-netbsd-atomic-ops
-.else # NetBSD <5.0 and other OS
-. include "../../devel/libatomic_ops/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-netbsd-atomic-ops
+.else
+.include "../../devel/libatomic_ops/buildlink3.mk"
.endif
# avahi support