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
--- Modules/_ctypes/libffi/configure.orig Sat Apr 25 13:51:54 2015
|
|
+++ Modules/_ctypes/libffi/configure Sat Apr 25 13:56:19 2015
|
|
@@ -5898,7 +5898,7 @@
|
|
lt_cv_sys_max_cmd_len=8192;
|
|
;;
|
|
|
|
- bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
|
|
+ bitrig* | darwin* | dragonfly* | freebsd* | minix* | netbsd* | openbsd*)
|
|
# 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`
|
|
@@ -6367,7 +6367,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
|
|
@@ -10121,7 +10121,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=
|
|
@@ -10752,7 +10752,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
|
|
@@ -11788,6 +11788,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='Minix ld.elf_so'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
+ ;;
|
|
+
|
|
netbsd*)
|
|
version_type=sunos
|
|
need_lib_prefix=no
|
|
@@ -13859,7 +13871,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=
|
|
@@ -14614,7 +14626,7 @@
|
|
;;
|
|
esac
|
|
;;
|
|
- netbsd*)
|
|
+ minix* | netbsd*)
|
|
;;
|
|
*qnx* | *nto*)
|
|
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
|
@@ -15617,6 +15629,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='Minix ld.elf_so'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=yes
|
|
+ hardcode_into_libs=yes
|
|
;;
|
|
|
|
netbsd*)
|