diff options
author | marino <marino@FreeBSD.org> | 2014-02-06 07:52:12 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-02-06 07:52:12 +0800 |
commit | 7cfc0050a7b5017e6fb3ce7ec6d408b4182710cd (patch) | |
tree | a818f1e5054e4625ae06380a3cebcbf30aa12b58 /audio | |
parent | d048a1f519f5cb98c83eecaf3eeba9340c09205c (diff) | |
download | freebsd-ports-gnome-7cfc0050a7b5017e6fb3ce7ec6d408b4182710cd.tar.gz freebsd-ports-gnome-7cfc0050a7b5017e6fb3ce7ec6d408b4182710cd.tar.zst freebsd-ports-gnome-7cfc0050a7b5017e6fb3ce7ec6d408b4182710cd.zip |
audio/xmms-fxt: Add dragonfly support to configure script
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xmms-fxt/files/patch-configure | 99 | ||||
-rw-r--r-- | audio/xmms-fxt/files/patch-ltconfig | 20 |
2 files changed, 119 insertions, 0 deletions
diff --git a/audio/xmms-fxt/files/patch-configure b/audio/xmms-fxt/files/patch-configure new file mode 100644 index 000000000000..8ec5f55a7458 --- /dev/null +++ b/audio/xmms-fxt/files/patch-configure @@ -0,0 +1,99 @@ +--- configure.orig 2003-10-31 15:41:13.000000000 +0000 ++++ configure +@@ -3437,13 +3437,13 @@ darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +-freebsd* | kfreebsd*-gnu) ++dragonfly* | freebsd* | kfreebsd*-gnu) + 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.*` + ;; +@@ -7004,7 +7004,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu) ++ dragonfly* | freebsd* | kfreebsd*-gnu) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes +@@ -7582,7 +7582,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++dragonfly*|freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -9853,7 +9853,7 @@ if test -z "$aix_libpath"; then aix_libp + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; +- freebsd* | kfreebsd*-gnu) ++ dragonfly* | freebsd* | kfreebsd*-gnu) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes +@@ -10560,7 +10560,7 @@ echo $ECHO_N "checking for $compiler opt + ;; + esac + ;; +- freebsd* | kfreebsd*-gnu) ++ dragonfly* | freebsd* | kfreebsd*-gnu) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) +@@ -11178,7 +11178,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++dragonfly*|freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -13645,7 +13645,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu) ++ dragonfly* | freebsd* | kfreebsd*-gnu) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes +@@ -14223,7 +14223,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++dragonfly*|freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in +@@ -15976,7 +15976,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd* | kfreebsd*-gnu) ++ dragonfly*| freebsd* | kfreebsd*-gnu) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes +@@ -16554,7 +16554,7 @@ kfreebsd*-gnu) + dynamic_linker='GNU ld.so' + ;; + +-freebsd*) ++dragonfly*|freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in diff --git a/audio/xmms-fxt/files/patch-ltconfig b/audio/xmms-fxt/files/patch-ltconfig new file mode 100644 index 000000000000..09fb5230e250 --- /dev/null +++ b/audio/xmms-fxt/files/patch-ltconfig @@ -0,0 +1,20 @@ +--- ltconfig.orig 2002-07-15 16:27:29.000000000 +0000 ++++ ltconfig +@@ -1349,7 +1349,7 @@ else + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd*) ++ dragonfly*|freebsd*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $linkopts' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes +@@ -1823,7 +1823,7 @@ freebsd1*) + dynamic_linker=no + ;; + +-freebsd*) ++dragonfly*|freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case "$version_type" in |