aboutsummaryrefslogtreecommitdiff
path: root/maketgz
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-10-20 21:06:24 +0000
committerGunter Knauf <gk@gknw.de>2007-10-20 21:06:24 +0000
commit053654dc4dbb7616d92abea47bfcd3a27c91479a (patch)
treea73ff1e1b9ce07bbaf1d2278558f575dee9a35c3 /maketgz
parent7fe89c5d29c633ef0777bd5f5689649d1ad7eec7 (diff)
Mohun Biswas sent a patch to fix generated MSVC8 makefiles.
Diffstat (limited to 'maketgz')
-rwxr-xr-xmaketgz4
1 files changed, 2 insertions, 2 deletions
diff --git a/maketgz b/maketgz
index 1fbbd6494..256395092 100755
--- a/maketgz
+++ b/maketgz
@@ -40,8 +40,8 @@ sed 's/#define CURL_VERSION .*/#define CURL_VERSION "'$curlversion'"/g' $CHEADER
echo "generate VC8 makefiles"
# Generate VC8 versions from the VC6 Makefile versions
-sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e 's#/GZ#/RTC1#' -e 's/wsock32.lib/wsock32.lib bufferoverflowu.lib/g' -e 's/VC6/VC8/g' lib/Makefile.vc6 > lib/Makefile.vc8.dist
-sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e 's#/GZ#/RTC1#' -e 's/wsock32.lib/wsock32.lib bufferoverflowu.lib/g' -e 's/VC6/VC8/g' src/Makefile.vc6 > src/Makefile.vc8.dist
+perl -pe 's%/GX /DWIN32 /YX%/EHsc /DWIN32%;' -e 's%/GZ%/RTC1%;' -e 's%wsock32.lib%wsock32.lib bufferoverflowu.lib%g;' -e 's%(VC)6%${1}8%gi;' lib/Makefile.vc6 > lib/Makefile.vc8.dist
+perl -pe "s%/GX /DWIN32 /YX%/EHsc /DWIN32%;" -e 's%/GZ%/RTC1%;' -e 's%wsock32.lib%wsock32.lib bufferoverflowu.lib%g;' -e 's%(VC)6%${1}8%gi;' src/Makefile.vc6 > src/Makefile.vc8.dist
# Replace version number in plist file:
PLIST=lib/libcurl.plist