1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add patch to fix configure script detecting gcc version

PR:		33592
Submitted by:	maintainer, Eugene Grosbein <eugen@grosbein.pp.ru>
This commit is contained in:
Patrick Li 2002-01-06 03:58:58 +00:00
parent 7bc2223333
commit 61e845b585
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52639
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- configure.orig Sat Jan 5 17:07:53 2002
+++ configure Sat Jan 5 17:07:53 2002
@@ -874,7 +874,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \
- sed -n -e '$s/.* //' -e '$s/\..*//p'`
+ sed -n -e '$s/^.*version //' -e '$s/\..*//p'`
fi
echo "$ac_t""$ac_cv_lbl_gcc_vers" 1>&6

View File

@ -0,0 +1,11 @@
--- configure.orig Sat Jan 5 17:07:53 2002
+++ configure Sat Jan 5 17:07:53 2002
@@ -874,7 +874,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \
- sed -n -e '$s/.* //' -e '$s/\..*//p'`
+ sed -n -e '$s/^.*version //' -e '$s/\..*//p'`
fi
echo "$ac_t""$ac_cv_lbl_gcc_vers" 1>&6

View File

@ -0,0 +1,11 @@
--- configure.orig Sat Jan 5 17:07:53 2002
+++ configure Sat Jan 5 17:07:53 2002
@@ -874,7 +874,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \
- sed -n -e '$s/.* //' -e '$s/\..*//p'`
+ sed -n -e '$s/^.*version //' -e '$s/\..*//p'`
fi
echo "$ac_t""$ac_cv_lbl_gcc_vers" 1>&6