1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/trafshow/files/patch-configure
Patrick Li 61e845b585 Add patch to fix configure script detecting gcc version
PR:		33592
Submitted by:	maintainer, Eugene Grosbein <eugen@grosbein.pp.ru>
2002-01-06 03:58:58 +00:00

12 lines
336 B
Plaintext

--- 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