mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
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)
18 lines
386 B
Bash
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
|
|
|