blob: 318d016ca64aee2d59b29382adcdbcf095194f2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
echo 'Creating brew-patch.diff'
cat << EOF >> brew-patch.diff
diff --git a/configure b/configure
index 05bfa9b..a73608e 100755
--- a/configure
+++ b/configure
@@ -399,13 +399,13 @@ if test -n "$sharedir"; then
uadedatadir="$sharedir"
fi
-$NATIVECC -v 2>/dev/null >/dev/null
+$NATIVECC --version 2>/dev/null >/dev/null
if test "$?" != "0"; then
echo Native CC "$NATIVECC" not found, please install a C compiler
exit 1
fi
-$TARGETCC -v 2>/dev/null >/dev/null
+$TARGETCC --version 2>/dev/null >/dev/null
if test "$?" != "0"; then
echo Target CC "$TARGETCC" not found, please install a C compiler
exit 1
EOF
|