diff options
Diffstat (limited to 'audio/cmus/files/patch-scripts_checks.sh')
-rw-r--r-- | audio/cmus/files/patch-scripts_checks.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/cmus/files/patch-scripts_checks.sh b/audio/cmus/files/patch-scripts_checks.sh new file mode 100644 index 000000000000..15b27cba2112 --- /dev/null +++ b/audio/cmus/files/patch-scripts_checks.sh @@ -0,0 +1,20 @@ +--- scripts/checks.sh.orig 2014-08-11 07:48:28 UTC ++++ scripts/checks.sh +@@ -677,11 +677,15 @@ check_dl() + check_iconv() + { + HAVE_ICONV=n +- if check_library ICONV "" "-liconv" ++ if check_function iconv ++ then ++ echo "libc contains iconv" ++ makefile_var ICONV_CFLAGS "" ++ makefile_var ICONV_LIBS "" ++ elif check_library ICONV "" "-liconv" + then + echo "taking iconv from libiconv" + else +- echo "assuming libc contains iconv" + makefile_var ICONV_CFLAGS "" + makefile_var ICONV_LIBS "" + fi |