summaryrefslogtreecommitdiff
path: root/audio/pulseaudio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-02-22 21:48:03 +0000
committerwiz <wiz@pkgsrc.org>2010-02-22 21:48:03 +0000
commit3c1dab7861f7ae2f2f908b01c105757f56579a13 (patch)
treebd7e02f4524c613f85faeac9d19667004973b077 /audio/pulseaudio
parent44bc902b02191f295d18a4f8efc9ad87ef946705 (diff)
downloadpkgsrc-3c1dab7861f7ae2f2f908b01c105757f56579a13.tar.gz
Add fix for NetBSD-4*, from Robert Elz in PR 42820.
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r--audio/pulseaudio/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 2ffe851dc0c..0f700e39309 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2010/02/02 12:39:14 jmcneill Exp $
+# $NetBSD: Makefile,v 1.35 2010/02/22 21:48:03 wiz Exp $
# NOTE: Please send a copy of any patches that are not pkgsrc-specific
# to <pulseaudio-discuss@mail.0pointer.de>
@@ -66,6 +66,10 @@ SUBST_SED.padsp= -e 's@libpulsedsp\.so@${PREFIX}/lib/&@'
# broken test for TLS
CONFIGURE_ENV+= cc_cv_tls___thread=no
.endif
+# see PR 42820
+.if ${OPSYS} == "NetBSD" && ${OS_VERSION:M4.*} != ""
+BUILDLINK_TRANSFORM+= rm:-Wl,--no-undefined
+.endif
PLIST_VARS+= evdev hal oss
PLIST_SUBST+= PULSEAUDIO_VER=${PULSEAUDIO_VER:Q}