ports/net/freeswitch-core/files/patch-build-getlib.sh.in
Josh Paetzel 200422a792 Add support for new module. (libzrtp)
Fix fetch issue when host system has wget installed.
Fix missing depend when python module is selected.

PR:	ports/152789
Submitted by:	Marcin Cieslak <saper@saper.info>
Approved by:	"Richard E. Neese" <r.neese@gmail.com> (maintainer)
2010-12-23 15:36:23 +00:00

18 lines
386 B
Bash

--- build/getlib.sh.in 2010-12-22 12:39:49.000000000 -0500
+++ build/getlib.sh.in.orig 2010-12-22 12:34:04.000000000 -0500
@@ -5,11 +5,11 @@
WGET=@WGET@
CURL=@CURL@
-if [ -f "$WGET" ] ; then
- DOWNLOAD_CMD=$WGET
-else
- if [ -f "$CURL" ] ; then
+if [ -f "$CURL" ] ; then
DOWNLOAD_CMD="$CURL -O"
+else
+ if [ -f "$WGET" ] ; then
+ DOWNLOAD_CMD=$WGET
fi
fi