freebsd-ports/audio/libmp3splt/files/patch-configure
John Marino ab73db34fb audio/libmp3splt: Fix configure script test for modern binutils
The id3tag library will fail to be detected on systems using ld from
recent binutils.  This is because libid3tag is linked without zlib also
being linked directly, and be default it doesn't search libraries linked
to linked libraries.  The configure script is patched with "-lz" to fix.
Also remove redundant MAKE_JOBS_SAFE while we are here.

Approved by:	bapt (mentor), maintainer
2013-07-25 18:30:17 +00:00

11 lines
304 B
Text

--- configure.orig 2013-07-25 15:33:15.000000000 +0000
+++ configure
@@ -15422,7 +15422,7 @@ elif test "x$prefix" != "xNONE"; then
ID3_LIBS="-L$prefix/lib"
fi
-ID3_LIBS="$ID3_LIBS -lid3tag"
+ID3_LIBS="$ID3_LIBS -lid3tag -lz"
if test "x$id3_includes" != "x"; then
ID3_CFLAGS="-I$id3_includes"