Skip to content

Commit a26a929

Browse files
committed
Use up-to-date config.guess and config.sub also for libcurl
1 parent 2d88b80 commit a26a929

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/016-libcurl-7.31.0.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,16 @@
55
## Download the source code.
66
wget --continue http://curl.haxx.se/download/curl-7.31.0.tar.gz
77

8+
## Download an up-to-date config.guess and config.sub
9+
if [ ! -f config.guess ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi
10+
if [ ! -f config.sub ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi
11+
812
## Unpack the source code.
913
rm -Rf curl-7.31.0 && tar xfvz curl-7.31.0.tar.gz && cd curl-7.31.0
1014

15+
## Replace config.guess and config.sub
16+
cp ../config.guess ../config.sub .
17+
1118
## Patch the source code.
1219
cat ../../patches/libcurl-7.31.0.patch | patch -p1
1320

0 commit comments

Comments
 (0)