pkgsrc/audio/esound/patches/patch-ac
danw bcef62518c tweak esd-config.in patch so it doesn't generate a sh syntax error
when buildlink strips out $RPATH_FLAG on Darwin
2003-11-10 01:14:43 +00:00

16 lines
506 B
Text

$NetBSD: patch-ac,v 1.3 2003/11/10 01:14:43 danw Exp $
--- esd-config.in.orig Fri Feb 5 23:34:19 1999
+++ esd-config.in
@@ -54,9 +54,9 @@
;;
--libs)
my_audiofile_libs=
- libdirs=-L@libdir@
+ libdirs="-L@libdir@ -Wl,-R@libdir@"
for i in $audiofile_libs ; do
- if test $i != -L@libdir@ ; then
+ if test $i != -L@libdir@ -a "$i" != "-Wl,-R@libdir@"; then
if test -z "$my_audiofile_libs" ; then
my_audiofile_libs="$i"
else