make devel/gmp build on SecBSD
This commit is contained in:
parent
c45cdb0202
commit
7c4d4281d2
4 changed files with 181 additions and 1 deletions
84
devel/gmp/patches/patch-configure
Normal file
84
devel/gmp/patches/patch-configure
Normal file
|
@ -0,0 +1,84 @@
|
|||
Index: configure
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -12664,7 +12664,7 @@ else
|
||||
lt_cv_sys_max_cmd_len=8192;
|
||||
;;
|
||||
|
||||
- bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
|
||||
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd* | secbsd*)
|
||||
# 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`
|
||||
@@ -13148,7 +13148,7 @@ newos6*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
-openbsd* | bitrig*)
|
||||
+openbsd* | bitrig* | secbsd*)
|
||||
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
|
||||
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
|
||||
else
|
||||
@@ -13764,7 +13764,7 @@ old_postuninstall_cmds=
|
||||
|
||||
if test -n "$RANLIB"; then
|
||||
case $host_os in
|
||||
- bitrig* | openbsd*)
|
||||
+ bitrig* | openbsd* | secbsd*)
|
||||
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
|
||||
;;
|
||||
*)
|
||||
@@ -16683,7 +16683,7 @@ $as_echo_n "checking whether the $compiler linker ($LD
|
||||
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
||||
with_gnu_ld=yes
|
||||
;;
|
||||
- openbsd* | bitrig*)
|
||||
+ openbsd* | bitrig* | secbsd*)
|
||||
with_gnu_ld=no
|
||||
;;
|
||||
esac
|
||||
@@ -17653,7 +17653,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
||||
*nto* | *qnx*)
|
||||
;;
|
||||
|
||||
- openbsd* | bitrig*)
|
||||
+ openbsd* | bitrig* | secbsd*)
|
||||
if test -f /usr/libexec/ld.so; then
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
@@ -18783,7 +18783,7 @@ newsos6)
|
||||
dynamic_linker='ldqnx.so'
|
||||
;;
|
||||
|
||||
-openbsd* | bitrig*)
|
||||
+openbsd* | bitrig* | secbsd*)
|
||||
version_type=sunos
|
||||
sys_lib_dlsearch_path_spec=/usr/lib
|
||||
need_lib_prefix=no
|
||||
@@ -20941,7 +20941,7 @@ fi
|
||||
ld_shlibs_CXX=yes
|
||||
;;
|
||||
|
||||
- openbsd* | bitrig*)
|
||||
+ openbsd* | bitrig* | secbsd*)
|
||||
if test -f /usr/libexec/ld.so; then
|
||||
hardcode_direct_CXX=yes
|
||||
hardcode_shlibpath_var_CXX=no
|
||||
@@ -22745,7 +22745,7 @@ newsos6)
|
||||
dynamic_linker='ldqnx.so'
|
||||
;;
|
||||
|
||||
-openbsd* | bitrig*)
|
||||
+openbsd* | bitrig* | secbsd*)
|
||||
version_type=sunos
|
||||
sys_lib_dlsearch_path_spec=/usr/lib
|
||||
need_lib_prefix=no
|
||||
@@ -27227,7 +27227,7 @@ echo "include_mpn(\`x86_64/darwin.m4')" >> $gmp_tmpcon
|
||||
|
||||
echo "include_mpn(\`x86_64/dos64.m4')" >> $gmp_tmpconfigm4i
|
||||
;;
|
||||
- *-openbsd*)
|
||||
+ *-openbsd* | *-secbsd*)
|
||||
|
||||
echo "define(<OPENBSD>,1)" >> $gmp_tmpconfigm4
|
||||
;;
|
Loading…
Add table
Add a link
Reference in a new issue