mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
95 lines
2.7 KiB
Plaintext
95 lines
2.7 KiB
Plaintext
--- dist/configure.orig Wed Nov 2 23:52:52 2016
|
|
+++ dist/configure Wed Nov 2 23:57:56 2016
|
|
@@ -7683,7 +7683,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`
|
|
@@ -8175,7 +8175,7 @@
|
|
lt_cv_deplibs_check_method=pass_all
|
|
;;
|
|
|
|
-netbsd*)
|
|
+minix* | netbsd*)
|
|
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
|
|
@@ -11790,7 +11790,7 @@
|
|
fi
|
|
;;
|
|
|
|
- netbsd*)
|
|
+ minix* | netbsd*)
|
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
wlarc=
|
|
@@ -12423,7 +12423,7 @@
|
|
link_all_deplibs=yes
|
|
;;
|
|
|
|
- netbsd*)
|
|
+ minix* | netbsd*)
|
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
else
|
|
@@ -13459,6 +13459,18 @@
|
|
dynamic_linker='GNU/Linux ld.so'
|
|
;;
|
|
|
|
+minix*)
|
|
+ version_type=sunos
|
|
+ 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='NetBSD ld.elf_so'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
netbsd*)
|
|
version_type=sunos
|
|
need_lib_prefix=no
|
|
@@ -15535,7 +15547,7 @@
|
|
esac
|
|
;;
|
|
|
|
- netbsd*)
|
|
+ minix* | netbsd*)
|
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
|
|
wlarc=
|
|
@@ -16293,7 +16305,7 @@
|
|
;;
|
|
esac
|
|
;;
|
|
- netbsd*)
|
|
+ minix* | netbsd*)
|
|
;;
|
|
*qnx* | *nto*)
|
|
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
|
@@ -17290,6 +17302,18 @@
|
|
# people can always --disable-shared, the test was removed, and we
|
|
# assume the GNU/Linux dynamic linker is in use.
|
|
dynamic_linker='GNU/Linux ld.so'
|
|
+ ;;
|
|
+
|
|
+minix*)
|
|
+ version_type=sunos
|
|
+ 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='NetBSD ld.elf_so'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
;;
|
|
|
|
netbsd*)
|