Step 1: bootstrap: devel/libtool
This commit is contained in:
@@ -7,3 +7,5 @@ SHA1 (patch-aa) = 8fa167bebf27b7bc3008edd61408a0aede6bdf69
|
||||
SHA1 (patch-ab) = 3ab767d3c0413bf30b6e9cce62e9686cd3d53fda
|
||||
SHA1 (patch-ac) = fa8b0388f8f0469803c5869a23c3a1247eef70a1
|
||||
SHA1 (patch-ad) = 48c3832e9205777832ef2a6334033ff6099be8a4
|
||||
SHA1 (patch-zz-minix-a) = 83fd8e2dc61bac55bc8f165808e9281fee589400
|
||||
SHA1 (patch-zz-minix-b) = fef6154c6d892f48ee0dcedef341b9f0fa53dab0
|
||||
|
||||
75
devel/libtool/patches/manual-minix-libtool.m4
Normal file
75
devel/libtool/patches/manual-minix-libtool.m4
Normal file
@@ -0,0 +1,75 @@
|
||||
--- ./libltdl/m4/libtool.m4.nbsd Wed Apr 9 10:58:58 2014
|
||||
+++ ./libltdl/m4/libtool.m4 Wed Apr 9 11:06:53 2014
|
||||
@@ -1641,7 +1641,7 @@
|
||||
lt_cv_sys_max_cmd_len=8192;
|
||||
;;
|
||||
|
||||
- netbsd* | freebsd* | openbsd* | mirbsd* | darwin* | dragonfly*)
|
||||
+ netbsd* | freebsd* | openbsd* | minix* | mirbsd* | 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`
|
||||
@@ -2728,6 +2728,18 @@
|
||||
hardcode_into_libs=yes
|
||||
;;
|
||||
|
||||
+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'
|
||||
+ dynamic_linker='Minix ld.elf_so'
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
+ hardcode_into_libs=yes
|
||||
+ ;;
|
||||
+
|
||||
newsos6)
|
||||
version_type=linux # correct to gnu/linux during the next big refactor
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
@@ -3326,7 +3338,7 @@
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
|
||||
;;
|
||||
|
||||
-netbsd*)
|
||||
+netbsd* | minix*)
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
|
||||
;;
|
||||
|
||||
@@ -4143,7 +4155,7 @@
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
- netbsd*)
|
||||
+ netbsd* | minix*)
|
||||
;;
|
||||
*qnx* | *nto*)
|
||||
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
||||
@@ -4943,7 +4955,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ netbsd* | minix*)
|
||||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
||||
@@ -5437,7 +5449,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ netbsd* | minix*)
|
||||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
||||
@@ -6662,7 +6674,7 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ netbsd* | minix*)
|
||||
_LT_TAGVAR(ld_shlibs, $1)=yes
|
||||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
11
devel/libtool/patches/manual-minix-ltdl.m4
Normal file
11
devel/libtool/patches/manual-minix-ltdl.m4
Normal file
@@ -0,0 +1,11 @@
|
||||
--- libltdl/m4/ltdl.m4.nbsd Wed Apr 9 10:59:05 2014
|
||||
+++ libltdl/m4/ltdl.m4 Wed Apr 9 11:09:44 2014
|
||||
@@ -496,7 +496,7 @@
|
||||
mirbsd*)
|
||||
lt_cv_sys_dlopen_deplibs=yes
|
||||
;;
|
||||
- netbsd*)
|
||||
+ netbsd* | minix*)
|
||||
lt_cv_sys_dlopen_deplibs=yes
|
||||
;;
|
||||
openbsd*)
|
||||
213
devel/libtool/patches/patch-zz-minix-a
Normal file
213
devel/libtool/patches/patch-zz-minix-a
Normal file
@@ -0,0 +1,213 @@
|
||||
--- configure.orig Fri Apr 24 16:27:41 2015
|
||||
+++ configure Fri Apr 24 16:32:10 2015
|
||||
@@ -5335,7 +5335,7 @@
|
||||
lt_cv_sys_max_cmd_len=8192;
|
||||
;;
|
||||
|
||||
- netbsd* | freebsd* | openbsd* | mirbsd* | darwin* | dragonfly*)
|
||||
+ minix* | netbsd* | freebsd* | openbsd* | mirbsd* | 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`
|
||||
@@ -5840,7 +5840,7 @@
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
|
||||
;;
|
||||
|
||||
-netbsd*)
|
||||
+minix* | netbsd*)
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
|
||||
;;
|
||||
|
||||
@@ -9658,7 +9658,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
@@ -10302,7 +10302,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
@@ -11362,6 +11362,18 @@
|
||||
shlibpath_overrides_runpath=yes
|
||||
;;
|
||||
|
||||
+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'
|
||||
+ dynamic_linker='Minix ld.elf_so'
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
+ hardcode_into_libs=yes
|
||||
+ ;;
|
||||
+
|
||||
netbsd*)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
@@ -12940,7 +12952,7 @@
|
||||
mirbsd*)
|
||||
lt_cv_sys_dlopen_deplibs=yes
|
||||
;;
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
lt_cv_sys_dlopen_deplibs=yes
|
||||
;;
|
||||
openbsd*)
|
||||
@@ -14774,7 +14786,7 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
ld_shlibs_CXX=yes
|
||||
archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
@@ -15525,7 +15537,7 @@
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
;;
|
||||
*qnx* | *nto*)
|
||||
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
||||
@@ -16553,6 +16565,18 @@
|
||||
shlibpath_overrides_runpath=yes
|
||||
;;
|
||||
|
||||
+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'
|
||||
+ dynamic_linker='Minix ld.elf_so'
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
+ hardcode_into_libs=yes
|
||||
+ ;;
|
||||
+
|
||||
netbsd*)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
@@ -18089,7 +18113,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
||||
@@ -18683,7 +18707,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
||||
@@ -19572,6 +19596,18 @@
|
||||
shlibpath_overrides_runpath=yes
|
||||
;;
|
||||
|
||||
+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'
|
||||
+ dynamic_linker='Minix ld.elf_so'
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
+ hardcode_into_libs=yes
|
||||
+ ;;
|
||||
+
|
||||
netbsd*)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
@@ -21242,7 +21278,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
|
||||
@@ -21836,7 +21872,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
|
||||
@@ -22725,6 +22761,18 @@
|
||||
shlibpath_overrides_runpath=yes
|
||||
;;
|
||||
|
||||
+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'
|
||||
+ dynamic_linker='Minix ld.elf_so'
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
+ hardcode_into_libs=yes
|
||||
+ ;;
|
||||
+
|
||||
netbsd*)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
@@ -24125,7 +24173,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
|
||||
@@ -24730,7 +24778,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
|
||||
@@ -26282,7 +26330,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
||||
@@ -26887,7 +26935,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
||||
66
devel/libtool/patches/patch-zz-minix-b
Normal file
66
devel/libtool/patches/patch-zz-minix-b
Normal file
@@ -0,0 +1,66 @@
|
||||
--- libltdl/configure.orig Fri Apr 24 16:33:16 2015
|
||||
+++ libltdl/configure Fri Apr 24 16:34:13 2015
|
||||
@@ -4548,7 +4548,7 @@
|
||||
lt_cv_sys_max_cmd_len=8192;
|
||||
;;
|
||||
|
||||
- netbsd* | freebsd* | openbsd* | mirbsd* | darwin* | dragonfly*)
|
||||
+ minix* | netbsd* | freebsd* | openbsd* | mirbsd* | 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`
|
||||
@@ -5053,7 +5053,7 @@
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
|
||||
;;
|
||||
|
||||
-netbsd*)
|
||||
+minix* | netbsd*)
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
|
||||
;;
|
||||
|
||||
@@ -9008,7 +9008,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
@@ -9652,7 +9652,7 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
@@ -10712,6 +10712,18 @@
|
||||
shlibpath_overrides_runpath=yes
|
||||
;;
|
||||
|
||||
+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'
|
||||
+ dynamic_linker='Minix ld.elf_so'
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ shlibpath_overrides_runpath=yes
|
||||
+ hardcode_into_libs=yes
|
||||
+ ;;
|
||||
+
|
||||
netbsd*)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
@@ -12289,7 +12301,7 @@
|
||||
mirbsd*)
|
||||
lt_cv_sys_dlopen_deplibs=yes
|
||||
;;
|
||||
- netbsd*)
|
||||
+ minix* | netbsd*)
|
||||
lt_cv_sys_dlopen_deplibs=yes
|
||||
;;
|
||||
openbsd*)
|
||||
Reference in New Issue
Block a user