make net/curl build on SecBSD
This commit is contained in:
parent
7c4d4281d2
commit
44529266c9
3 changed files with 272 additions and 0 deletions
66
net/curl/patches/patch-m4_libtool_m4
Normal file
66
net/curl/patches/patch-m4_libtool_m4
Normal file
|
@ -0,0 +1,66 @@
|
|||
Index: m4/libtool.m4
|
||||
--- m4/libtool.m4.orig
|
||||
+++ m4/libtool.m4
|
||||
@@ -1556,7 +1556,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"
|
||||
;;
|
||||
*)
|
||||
@@ -1724,7 +1724,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
||||
lt_cv_sys_max_cmd_len=8192;
|
||||
;;
|
||||
|
||||
- bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
|
||||
+ bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | 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`
|
||||
@@ -2955,7 +2955,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
|
||||
@@ -3595,7 +3595,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
|
||||
@@ -5036,7 +5036,7 @@ dnl Note also adjust exclude_expsyms for C++ above.
|
||||
# we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
|
||||
with_gnu_ld=yes
|
||||
;;
|
||||
- openbsd* | bitrig*)
|
||||
+ openbsd* | bitrig* | secbsd*)
|
||||
with_gnu_ld=no
|
||||
;;
|
||||
linux* | k*bsd*-gnu | gnu*)
|
||||
@@ -5864,7 +5864,7 @@ _LT_EOF
|
||||
*nto* | *qnx*)
|
||||
;;
|
||||
|
||||
- openbsd* | bitrig*)
|
||||
+ openbsd* | bitrig* | secbsd*)
|
||||
if test -f /usr/libexec/ld.so; then
|
||||
_LT_TAGVAR(hardcode_direct, $1)=yes
|
||||
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||
@@ -7158,7 +7158,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
||||
_LT_TAGVAR(ld_shlibs, $1)=yes
|
||||
;;
|
||||
|
||||
- openbsd* | bitrig*)
|
||||
+ openbsd* | bitrig* | secbsd*)
|
||||
if test -f /usr/libexec/ld.so; then
|
||||
_LT_TAGVAR(hardcode_direct, $1)=yes
|
||||
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
|
Loading…
Add table
Add a link
Reference in a new issue