summaryrefslogtreecommitdiff
path: root/security/ossec-hids-server/files/patch-install.sh
blob: f25849897b6c918f2bdbb821e59a970d722bdf89 (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
--- ./install.sh.orig	2013-10-29 12:13:44.000000000 -0600
+++ ./install.sh	2014-04-21 19:52:35.000000000 -0600
@@ -67,9 +67,6 @@
 	echo "5- ${installing}"
 
 	echo "DIR=\"${INSTALLDIR}\"" > ${LOCATION}
-    echo "CC=${CC}" >> ${LOCATION}
-    echo "GCC=${CC}" >> ${LOCATION}
-    echo "CLANG=clang" >> ${LOCATION}
 
     # Changing Config.OS with the new C flags
     # Checking if debug is enabled
@@ -811,19 +808,6 @@
         export  PATH
     fi
 
-    ls "`which gcc`" > /dev/null 2>&1
-    if [ ! $? = 0 ]; then
-        ls "`which cc`" > /dev/null 2>&1
-        if [ ! $? = 0 ]; then
-            if [ "X${USER_BINARYINSTALL}" = "X" ]; then
-                catError "0x3-dependencies"
-            fi
-        fi
-        CC="cc"
-    else
-        CC="gcc"
-    fi
-
     PATH=$OLDOPATH
     export PATH
 }