Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/lib/libcrypto adjust a grep patt...



details:   https://anonhg.NetBSD.org/src/rev/63701ce4ecab
branches:  trunk
changeset: 766342:63701ce4ecab
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jun 21 02:19:30 2011 +0000

description:
adjust a grep pattern to (only) match the right line with GCC 4.5.
from chuq.

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 07548d4a89fe -r 63701ce4ecab crypto/external/bsd/openssl/lib/libcrypto/Makefile
--- a/crypto/external/bsd/openssl/lib/libcrypto/Makefile        Tue Jun 21 02:15:41 2011 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/Makefile        Tue Jun 21 02:19:30 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2011/06/06 06:44:57 spz Exp $
+#      $NetBSD: Makefile,v 1.5 2011/06/21 02:19:30 mrg Exp $
 
 # RCSid:
 #      Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
@@ -50,7 +50,7 @@
 ${SRCS}: buildinf.h
 buildinf.h: Makefile
        @echo "#ifndef MK1MF_BUILD" >buildinf.h
-       @echo "#define CFLAGS \"`${CC} -v 2>&1 | grep version`\"" >>buildinf.h
+       @echo "#define CFLAGS \"`${CC} -v 2>&1 | grep 'gcc version'`\"" >>buildinf.h
        @echo "#define PLATFORM \"NetBSD-${MACHINE_ARCH}\"" >>buildinf.h
        @echo "#define DATE \"NetBSD ${OS_VERSION}\"" >>buildinf.h
        @echo "#endif" >>buildinf.h



Home | Main Index | Thread Index | Old Index