Date: Thu, 6 Feb 2014 00:05:54 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342912 - head/audio/libid3tag/files Message-ID: <201402060005.s1605sIe018687@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Thu Feb 6 00:05:53 2014 New Revision: 342912 URL: http://svnweb.freebsd.org/changeset/ports/342912 QAT: https://qat.redports.org/buildarchive/r342912/ Log: audio/libid3tag: Add dragonfly support to configure script Added: head/audio/libid3tag/files/patch-configure (contents, props changed) Modified: head/audio/libid3tag/files/patch-ltmain.sh Added: head/audio/libid3tag/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/libid3tag/files/patch-configure Thu Feb 6 00:05:53 2014 (r342912) @@ -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 Modified: head/audio/libid3tag/files/patch-ltmain.sh ============================================================================== --- head/audio/libid3tag/files/patch-ltmain.sh Wed Feb 5 23:58:44 2014 (r342911) +++ head/audio/libid3tag/files/patch-ltmain.sh Thu Feb 6 00:05:53 2014 (r342912) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402060005.s1605sIe018687>