aboutsummaryrefslogtreecommitdiff
path: root/net/freeswitch-core-devel/files/patch-build-getlib.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/freeswitch-core-devel/files/patch-build-getlib.sh.in')
-rw-r--r--net/freeswitch-core-devel/files/patch-build-getlib.sh.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/freeswitch-core-devel/files/patch-build-getlib.sh.in b/net/freeswitch-core-devel/files/patch-build-getlib.sh.in
new file mode 100644
index 000000000000..80d48efbe2c6
--- /dev/null
+++ b/net/freeswitch-core-devel/files/patch-build-getlib.sh.in
@@ -0,0 +1,16 @@
+--- build/getlib.sh.in.orig 2011-11-03 00:15:31.000000000 -0400
++++ build/getlib.sh.in 2011-11-03 02:05:01.000000000 -0400
+@@ -7,10 +7,10 @@
+ WGET=@WGET@
+ CURL=@CURL@
+
+-if [ -f "$WGET" ]; then
+- DOWNLOAD_CMD=$WGET
+-elif [ -f "$CURL" ]; then
++if [ -f "$CURL" ]; then
+ DOWNLOAD_CMD="$CURL -O"
++elif [ -f "$WGET" ]; then
++ DOWNLOAD_CMD=$WGET
+ fi
+
+ if [ -n "`echo $1 | grep '://'`" ]; then