diff --git a/audio/libid3tag/files/patch-configure b/audio/libid3tag/files/patch-configure new file mode 100644 index 000000000000..cbdb69b18b4a --- /dev/null +++ b/audio/libid3tag/files/patch-configure @@ -0,0 +1,99 @@ +--- configure.orig 2013-01-06 09:12:38.564020000 +0100 ++++ configure 2013-01-06 09:21:16.604744000 +0100 +@@ -3485,13 +3485,13 @@ + lt_cv_deplibs_check_method=pass_all + ;; + +-freebsd* | kfreebsd*-gnu) ++freebsd* | kfreebsd*-gnu | DragonFly* ) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. +- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' ++ lt_cv_deplibs_check_method='file_magic (FreeBSD|DragonFly|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; +@@ -7144,7 +7144,7 @@ + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu) ++ freebsd* | dragonfly* | kfreebsd*-gnu) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes +@@ -7722,7 +7722,7 @@ + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++freebsd*|dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -10093,7 +10093,7 @@ + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; +- freebsd* | kfreebsd*-gnu) ++ freebsd* | dragonfly* | kfreebsd*-gnu) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes +@@ -10800,7 +10800,7 @@ + ;; + esac + ;; +- freebsd* | kfreebsd*-gnu) ++ freebsd* | dragonfly* | kfreebsd*-gnu) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) +@@ -11411,7 +11411,7 @@ + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++freebsd*|dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -13973,7 +13973,7 @@ + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu) ++ freebsd* | dragonfly* | kfreebsd*-gnu) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes +@@ -14551,7 +14551,7 @@ + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++freebsd*|dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -16318,7 +16318,7 @@ + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu) ++ freebsd* | dragonfly* | kfreebsd*-gnu) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes +@@ -16896,7 +16896,7 @@ + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++freebsd*|dragonfly*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in diff --git a/audio/libid3tag/files/patch-ltmain.sh b/audio/libid3tag/files/patch-ltmain.sh index f533ca97d342..9acb8e593759 100644 --- a/audio/libid3tag/files/patch-ltmain.sh +++ b/audio/libid3tag/files/patch-ltmain.sh @@ -1,6 +1,24 @@ ---- ltmain.sh.orig Tue Feb 17 02:52:36 2004 -+++ ltmain.sh Fri Oct 28 09:34:46 2005 -@@ -2980,8 +2980,8 @@ +--- ltmain.sh.orig 2004-02-16 20:52:36.000000000 -0500 ++++ ltmain.sh +@@ -1335,7 +1335,7 @@ EOF + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* ) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; +@@ -1346,7 +1346,7 @@ EOF + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* ) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -2980,8 +2980,8 @@ EOF ;; freebsd-elf) @@ -11,7 +29,7 @@ ;; irix | nonstopux) -@@ -5527,11 +5527,6 @@ +@@ -5527,11 +5527,6 @@ relink_command=\"$relink_command\"" IFS="$save_ifs" fi