Step 2: base dep: devel/libidn

This commit is contained in:
Lionel Sambuc 2014-04-17 11:07:01 +02:00 committed by Lionel Sambuc
parent ae4646ecf0
commit 5d21ce0d6a
3 changed files with 99 additions and 0 deletions

View File

@ -5,3 +5,5 @@ RMD160 (libidn-1.33.tar.gz) = b6bff80e6d5b5e3ee15a52378d42c7b9074a627d
SHA512 (libidn-1.33.tar.gz) = 38dd459eaeda0c9e3cc2d24d967113515a499747550a2a9157f32357def90d71a3a3b52398e96a44a28cd5948dc353b0473c4ff0453a69720191c4cb49cac2c6 SHA512 (libidn-1.33.tar.gz) = 38dd459eaeda0c9e3cc2d24d967113515a499747550a2a9157f32357def90d71a3a3b52398e96a44a28cd5948dc353b0473c4ff0453a69720191c4cb49cac2c6
Size (libidn-1.33.tar.gz) = 3501056 bytes Size (libidn-1.33.tar.gz) = 3501056 bytes
SHA1 (patch-aa) = 569ffa945fb8f1aef509db6bcadbe1e63ba5df87 SHA1 (patch-aa) = 569ffa945fb8f1aef509db6bcadbe1e63ba5df87
SHA1 (patch-zz-minix-a) = 6192f02097375851553a06d7a82abce0dd223c14
SHA1 (patch-zz-minix-b) = 7953160dcd2dce7bd45f3f92d0b2136731767f52

View File

@ -0,0 +1,13 @@
--- build-aux/config.guess.orig Wed Jul 10 11:46:55 2013
+++ build-aux/config.guess Fri Apr 18 00:52:49 2014
@@ -880,8 +880,8 @@ EOF
# other systems with GNU libc and userland
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
exit ;;
- i*86:Minix:*:*)
- echo ${UNAME_MACHINE}-pc-minix
+ *:Minix:*:*)
+ echo ${UNAME_MACHINE}-elf32-minix
exit ;;
aarch64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}

View File

@ -0,0 +1,84 @@
--- configure.orig Fri Apr 24 20:44:46 2015
+++ configure Fri Apr 24 20:47:41 2015
@@ -7343,7 +7343,7 @@
lt_cv_sys_max_cmd_len=8192;
;;
- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
+ minix* | 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`
@@ -7834,7 +7834,7 @@
lt_cv_deplibs_check_method=pass_all
;;
-netbsd* | netbsdelf*-gnu)
+minix* | netbsd* | netbsdelf*-gnu)
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
else
@@ -11499,7 +11499,7 @@
fi
;;
- netbsd* | netbsdelf*-gnu)
+ minix* | netbsd* | netbsdelf*-gnu)
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
@@ -12130,7 +12130,7 @@
link_all_deplibs=yes
;;
- netbsd* | netbsdelf*-gnu)
+ minix* | netbsd* | netbsdelf*-gnu)
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
else
@@ -13147,6 +13147,18 @@
dynamic_linker='GNU/Linux ld.so'
;;
+minix*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='Minix ld.elf_so'
+ ;;
+
netbsdelf*-gnu)
version_type=linux
need_lib_prefix=no
@@ -21409,7 +21421,7 @@
if test "$cross_compiling" = yes; then :
case "$host_os" in
# Guess yes on platforms where we know the result.
- *-gnu* | freebsd* | netbsd* | openbsd* \
+ *-gnu* | freebsd* | minix* | netbsd* | openbsd* \
| hpux* | solaris* | cygwin* | mingw*)
ac_cv_func_malloc_0_nonnull=yes ;;
# If we don't know, assume the worst.
@@ -32504,7 +32516,7 @@
fi
;;
- netbsd* | netbsdelf*-gnu)
+ minix* | netbsd* | netbsdelf*-gnu)
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
@@ -33096,7 +33108,7 @@
link_all_deplibs_GCJ=yes
;;
- netbsd* | netbsdelf*-gnu)
+ minix* | netbsd* | netbsdelf*-gnu)
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
else