Fix up libtool.m4 for DragonFly. Also let it use sysctl kern.argmax,
we don't have many scripts which use that themselves.
This commit is contained in:
parent
2688236833
commit
433aecc007
2 changed files with 112 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.9 2005/10/19 09:45:09 xtraeme Exp $
|
||||
$NetBSD: distinfo,v 1.10 2005/12/12 00:34:41 joerg Exp $
|
||||
|
||||
SHA1 (streamtuner-0.99.99.tar.gz) = d912dbe1741ba9d14342ab6d9d818f06e97f6b59
|
||||
RMD160 (streamtuner-0.99.99.tar.gz) = b2f7dbc47a148e4c195f85b8f5e77bb843bb7d4e
|
||||
Size (streamtuner-0.99.99.tar.gz) = 948075 bytes
|
||||
SHA1 (patch-aa) = 5f5605d8724f40c97156d492dd12aed3260f4e3f
|
||||
|
|
110
audio/streamtuner/patches/patch-aa
Normal file
110
audio/streamtuner/patches/patch-aa
Normal file
|
@ -0,0 +1,110 @@
|
|||
$NetBSD: patch-aa,v 1.1 2005/12/12 00:34:41 joerg Exp $
|
||||
|
||||
--- configure.orig 2005-12-12 00:20:39.000000000 +0000
|
||||
+++ configure
|
||||
@@ -3652,13 +3652,13 @@ darwin* | rhapsody*)
|
||||
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 (DragonFly|FreeBSD|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.*`
|
||||
;;
|
||||
@@ -5589,7 +5589,7 @@ else
|
||||
lt_cv_sys_max_cmd_len=8192;
|
||||
;;
|
||||
|
||||
- netbsd* | freebsd* | openbsd* | darwin* )
|
||||
+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
|
||||
# This has been around since 386BSD, at least. Likely further.
|
||||
if test -x /sbin/sysctl; then
|
||||
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
||||
@@ -7368,7 +7368,7 @@ if test -z "$aix_libpath"; then aix_libp
|
||||
;;
|
||||
|
||||
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
||||
- freebsd* | kfreebsd*-gnu)
|
||||
+ freebsd* | kfreebsd*-gnu | dragonfly*)
|
||||
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
@@ -7947,7 +7947,7 @@ kfreebsd*-gnu)
|
||||
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
|
||||
@@ -10304,7 +10304,7 @@ if test -z "$aix_libpath"; then aix_libp
|
||||
freebsd-elf*)
|
||||
archive_cmds_need_lc_CXX=no
|
||||
;;
|
||||
- freebsd* | kfreebsd*-gnu)
|
||||
+ freebsd* | kfreebsd*-gnu | dragonfly*)
|
||||
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
|
||||
# conventions
|
||||
ld_shlibs_CXX=yes
|
||||
@@ -11048,7 +11048,7 @@ echo $ECHO_N "checking for $compiler opt
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
- freebsd* | kfreebsd*-gnu)
|
||||
+ freebsd* | kfreebsd*-gnu | dragonfly*)
|
||||
# FreeBSD uses GNU C++
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
@@ -11659,7 +11659,7 @@ kfreebsd*-gnu)
|
||||
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
|
||||
@@ -14240,7 +14240,7 @@ if test -z "$aix_libpath"; then aix_libp
|
||||
;;
|
||||
|
||||
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
||||
- freebsd* | kfreebsd*-gnu)
|
||||
+ freebsd* | kfreebsd*-gnu | dragonfly*)
|
||||
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
||||
hardcode_libdir_flag_spec_F77='-R$libdir'
|
||||
hardcode_direct_F77=yes
|
||||
@@ -14819,7 +14819,7 @@ kfreebsd*-gnu)
|
||||
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
|
||||
@@ -16598,7 +16598,7 @@ if test -z "$aix_libpath"; then aix_libp
|
||||
;;
|
||||
|
||||
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
||||
- freebsd* | kfreebsd*-gnu)
|
||||
+ freebsd* | kfreebsd*-gnu | dragonfly*)
|
||||
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
||||
hardcode_libdir_flag_spec_GCJ='-R$libdir'
|
||||
hardcode_direct_GCJ=yes
|
||||
@@ -17177,7 +17177,7 @@ kfreebsd*-gnu)
|
||||
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
|
Loading…
Reference in a new issue