summaryrefslogtreecommitdiff
path: root/devel/silc-toolkit/patches/patch-configure
blob: ae62652553eb922d9dae03df6d106f17c790a9cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$NetBSD: patch-configure,v 1.2 2014/06/27 22:57:21 asau Exp $

--- configure.orig	2009-08-07 11:51:30.000000000 +0000
+++ configure
@@ -9325,7 +9325,7 @@ if test -z "$aix_libpath"; then aix_libp
       hardcode_shlibpath_var=no
       ;;
 
-    freebsd1*)
+    freebsd1|freebsd1.*)
       ld_shlibs=no
       ;;
 
@@ -10226,7 +10226,7 @@ dgux*)
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 
-freebsd1*)
+freebsd1|freebsd1.*)
   dynamic_linker=no
   ;;
 
@@ -10237,7 +10237,7 @@ freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`
   else
     case $host_os in
-    freebsd[123]*) objformat=aout ;;
+    freebsd[123]|freebsd[123].*) objformat=aout ;;
     *) objformat=elf ;;
     esac
   fi
@@ -22200,7 +22200,6 @@ esac
 fi
 
  tmp_CFLAGS="SILC_CRYPTO_CFLAGS"
-  SILC_CRYPTO_CFLAGS="${SILC_CRYPTO_CFLAGS} -fno-regmove"
   { $as_echo "$as_me:$LINENO: checking whether $CC accepts -fno-regmove flag" >&5
 $as_echo_n "checking whether $CC accepts -fno-regmove flag... " >&6; }
   cat >conftest.$ac_ext <<_ACEOF