diff options
author | marino <marino@FreeBSD.org> | 2013-07-26 02:30:17 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2013-07-26 02:30:17 +0800 |
commit | 9c879ee5759d6b1c88aef83706cc54d07bc33411 (patch) | |
tree | 0e85be3e22a47e7a931e92f2b0275eb415dc6139 /audio/libmp3splt | |
parent | 391beb93e84c8d90ad10aee79fb5bf77e5a4d67b (diff) | |
download | freebsd-ports-gnome-9c879ee5759d6b1c88aef83706cc54d07bc33411.tar.gz freebsd-ports-gnome-9c879ee5759d6b1c88aef83706cc54d07bc33411.tar.zst freebsd-ports-gnome-9c879ee5759d6b1c88aef83706cc54d07bc33411.zip |
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
Diffstat (limited to 'audio/libmp3splt')
-rw-r--r-- | audio/libmp3splt/Makefile | 1 | ||||
-rw-r--r-- | audio/libmp3splt/files/patch-configure | 11 |
2 files changed, 11 insertions, 1 deletions
diff --git a/audio/libmp3splt/Makefile b/audio/libmp3splt/Makefile index 55e0d2525738..e9417f82b72f 100644 --- a/audio/libmp3splt/Makefile +++ b/audio/libmp3splt/Makefile @@ -16,7 +16,6 @@ CONFIGURE_ARGS= --disable-cutter --disable-doxygen_doc USES= pathfix USE_LDCONFIG= yes USE_AUTOTOOLS= libltdl -MAKE_JOBS_SAFE= yes OPTIONS_MULTI= plugin OPTIONS_MULTI_plugin= MAD VORBIS diff --git a/audio/libmp3splt/files/patch-configure b/audio/libmp3splt/files/patch-configure new file mode 100644 index 000000000000..29a81eceafe0 --- /dev/null +++ b/audio/libmp3splt/files/patch-configure @@ -0,0 +1,11 @@ +--- 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" |