summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz>2010-02-22 21:48:03 +0000
committerwiz <wiz>2010-02-22 21:48:03 +0000
commitd18d53df2e0a25283d94edce62ad3f38e7da390c (patch)
treebd7e02f4524c613f85faeac9d19667004973b077 /audio
parent82c77c2843abfef38f037b630355d54fac7b6822 (diff)
downloadpkgsrc-d18d53df2e0a25283d94edce62ad3f38e7da390c.tar.gz
Add fix for NetBSD-4*, from Robert Elz in PR 42820.
Diffstat (limited to 'audio')
-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}