aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-02-06 07:56:16 +0800
committermarino <marino@FreeBSD.org>2014-02-06 07:56:16 +0800
commit53679524f3d32f4fddd15e6292df72396484ec63 (patch)
tree78ed9590a70ce711940188dccb87333a0ce444f3 /audio
parentfcb89fbe19683d48a00cfaf175cf69c1806dc353 (diff)
downloadfreebsd-ports-graphics-53679524f3d32f4fddd15e6292df72396484ec63.tar.gz
freebsd-ports-graphics-53679524f3d32f4fddd15e6292df72396484ec63.tar.zst
freebsd-ports-graphics-53679524f3d32f4fddd15e6292df72396484ec63.zip
audio/xmms-audiofile: Add dragonfly support to configure script
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-audiofile/files/patch-configure36
1 files changed, 36 insertions, 0 deletions
diff --git a/audio/xmms-audiofile/files/patch-configure b/audio/xmms-audiofile/files/patch-configure
new file mode 100644
index 00000000000..dda39dc2fba
--- /dev/null
+++ b/audio/xmms-audiofile/files/patch-configure
@@ -0,0 +1,36 @@
+--- configure.orig 2002-04-10 00:44:46.000000000 +0000
++++ configure
+@@ -3006,13 +3006,13 @@ darwin* | rhapsody*)
+ esac
+ ;;
+
+-freebsd*)
++dragonfly*|freebsd*)
+ 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.*`
+ ;;
+@@ -5315,7 +5315,7 @@ else
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd*)
++ dragonfly*|freebsd*)
+ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+@@ -5762,7 +5762,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