mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
audio/libid3tag: Add dragonfly support to configure script
This commit is contained in:
parent
01e1465a52
commit
4f2057da37
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342912
99
audio/libid3tag/files/patch-configure
Normal file
99
audio/libid3tag/files/patch-configure
Normal file
@ -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
|
@ -1,6 +1,24 @@
|
|||||||
--- ltmain.sh.orig Tue Feb 17 02:52:36 2004
|
--- ltmain.sh.orig 2004-02-16 20:52:36.000000000 -0500
|
||||||
+++ ltmain.sh Fri Oct 28 09:34:46 2005
|
+++ ltmain.sh
|
||||||
@@ -2980,8 +2980,8 @@
|
@@ -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)
|
freebsd-elf)
|
||||||
@ -11,7 +29,7 @@
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
irix | nonstopux)
|
irix | nonstopux)
|
||||||
@@ -5527,11 +5527,6 @@
|
@@ -5527,11 +5527,6 @@ relink_command=\"$relink_command\""
|
||||||
IFS="$save_ifs"
|
IFS="$save_ifs"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user