aboutsummaryrefslogtreecommitdiffstats
path: root/audio/pulseaudio
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2008-01-05 23:02:37 +0800
committermarcus <marcus@FreeBSD.org>2008-01-05 23:02:37 +0800
commit2162133ad633e7d0fdb0421f42e9a554119fa088 (patch)
tree44a30ce2b48c1df9875e1284313e1d2192074066 /audio/pulseaudio
parent10fac10689b10032c9e7b2275ef2e3e3264e50e4 (diff)
downloadfreebsd-ports-gnome-2162133ad633e7d0fdb0421f42e9a554119fa088.tar.gz
freebsd-ports-gnome-2162133ad633e7d0fdb0421f42e9a554119fa088.tar.zst
freebsd-ports-gnome-2162133ad633e7d0fdb0421f42e9a554119fa088.zip
Remove -Wl,-no-undefined from the LDFLAGS to allow pulse to build on
FreeBSD < 7.X. PR: 119286
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r--audio/pulseaudio/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index d2a26dc93793..0a53d4feac7d 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -84,6 +84,10 @@ PLIST_SUB+= GCONF="@comment "
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/src/daemon/default.pa.in
+.if ${OSVERSION} < 700042
+ @${REINPLACE_CMD} -e 's|-Wl,-no-undefined||' \
+ ${WRKSRC}/Makefile.in
+.endif
post-install:
.for ii in default.pa daemon.conf client.conf