aboutsummaryrefslogtreecommitdiff
path: root/security/openssl-beta/files/patch-ah
blob: 111ce78f8e57a9d9c92bbd2efb8cecc3b57b65c1 (plain) (blame)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--- config.orig	Sun Jan 17 15:20:20 1999
+++ config	Tue Mar 30 12:58:19 1999
@@ -125,16 +125,12 @@
 	echo "${MACHINE}-whatever-bsdi"; exit 0
 	;;
 
-    FreeBSD:3*:*:*)
-	echo "${MACHINE}-whatever-freebsd3"; exit 0
-	;;
-
-    FreeBSD:*:*:*486*)
-	echo "i486-whatever-freebsd"; exit 0
+    FreeBSD:[12]*:*:*)
+	echo "${MACHINE}-whatever-freebsd"; exit 0
 	;;
 
     FreeBSD:*)
-	echo "${MACHINE}-whatever-freebsd"; exit 0
+	echo "${MACHINE}-whatever-freebsd3"; exit 0
 	;;
 
     NetBSD:*:*:*486*)
@@ -282,15 +278,6 @@
 esac
 done
 
-# figure out if gcc is available and if so we use it otherwise
-# we fallback to whatever cc does on the system
-GCCVER=`gcc -v 2>&1`
-if [ $? = "0" ]; then
-  CC=gcc
-else
-  CC=cc
-fi
-
 # read the output of the embedded GuessOS 
 read GUESSOS
 
@@ -334,7 +321,7 @@
 # run Configure to check to see if we need to specify the 
 # compiler for the platform ... in which case we add it on
 # the end ... otherwise we leave it off
-perl ./Configure 2>&1 | grep "$OUT-$CC" > /dev/null
+${PERL} ./Configure 2>&1 | grep "$OUT-$CC" > /dev/null
 if [ $? = "0" ]; then
   OUT="$OUT-$CC"
 fi
@@ -349,7 +336,7 @@
 if [ "$TEST" = "true" ]; then
   echo ./Configure $OUT $options
 else
-  perl ./Configure $OUT $options
+  ${PERL} ./Configure $OUT $options
 fi
 
 )