1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/security/openssl/files/patch-config

21 lines
672 B
Plaintext

--- config.orig Wed Mar 26 22:09:15 2003
+++ config Wed Mar 26 21:37:27 2003
@@ -392,7 +392,7 @@
# we fallback to whatever cc does on the system
GCCVER=`(gcc -dumpversion) 2>/dev/null`
if [ "$GCCVER" != "" ]; then
- CC=gcc
+ CC=${CC:-gcc}
# then strip off whatever prefix egcs prepends the number with...
# Hopefully, this will work for any future prefixes as well.
GCCVER=`echo $GCCVER | sed 's/^[a-zA-Z]*\-//'`
@@ -402,7 +402,7 @@
# peak single digit before and after first dot, e.g. 2.95.1 gives 29
GCCVER=`echo $GCCVER | sed 's/\([0-9]\)\.\([0-9]\).*/\1\2/'`
else
- CC=cc
+ CC=${CC:-cc}
fi
GCCVER=${GCCVER:-0}
if [ "$SYSTEM" = "HP-UX" ];then