OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 27-Apr-2004 16:10:28
Branch: HEAD Handle: 2004042715102800
Modified files:
openpkg-src/gcc gcc.spec
Log:
fix detection of GCC
Summary:
Revision Changes Path
1.93 +2 -2 openpkg-src/gcc/gcc.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc/gcc.spec
============================================================================
$ cvs diff -u -r1.92 -r1.93 gcc.spec
--- openpkg-src/gcc/gcc.spec 26 Apr 2004 15:30:41 -0000 1.92
+++ openpkg-src/gcc/gcc.spec 27 Apr 2004 14:10:28 -0000 1.93
@@ -42,7 +42,7 @@
Group: Compiler
License: GPL
Version: %{V_full}
-Release: 20040426
+Release: 20040427
# package options
%option with_cxx yes
@@ -196,7 +196,7 @@
# determine build flags
l_ccisgcc=no
- if [ ".`(%{l_cc} -v; %{l_cc} --version) </dev/null 2>/dev/null | grep 'gcc'`"
!= . ]; then
+ if [ ".`(%{l_cc} -v; %{l_cc} --version) </dev/null 2>&1 | grep -i 'gcc'`" != .
]; then
l_ccisgcc=yes
fi
l_cflags=""
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]