Date: Sat, 5 Jan 2002 19:05:49 -0600 (CST) From: Ryan Thompson <ryan@sasknow.com> To: FreeBSD-gnats-submit@freebsd.org Cc: eugen@grosbein.pp.ru Subject: ports/33592: Maintainer update: net/trafshow Message-ID: <200201060105.g0615nX81261@catalyst.sasknow.net>
next in thread | raw e-mail | index | archive | help
>Number: 33592 >Category: ports >Synopsis: Maintainer update: net/trafshow >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jan 05 17:10:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Ryan Thompson <ryan@sasknow.com> >Release: FreeBSD 4.4-RELEASE i386 >Organization: SaskNow Technologies >Environment: System: FreeBSD catalyst.sasknow.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sun Dec 9 15:21:10 CST 2001 hutenosa@catalyst.sasknow.net:/usr/src/sys/compile/CATALYST i386 >Description: Updated gcc prints extra info with -v, which breaks the greedy regexp in trafshow's configure, when trying to determine the gcc version. The following patch looks for a more specific version pattern, which is compatible with both formats. Thanks to Eugene Grosbein <eugen@grosbein.pp.ru> for identifying this problem and sending the fix. >How-To-Repeat: gcc -v cd /usr/ports/net/trafshow && make configure >Fix: diff -ruN trafshow.orig/files/patch-ah trafshow/files/patch-ah --- trafshow.orig/files/patch-ah Wed Dec 31 18:00:00 1969 +++ trafshow/files/patch-ah Sat Jan 5 17:08:44 2002 @@ -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 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201060105.g0615nX81261>