Module Name:    src
Committed By:   mrg
Date:           Tue Jun 21 02:19:30 UTC 2011

Modified Files:
        src/crypto/external/bsd/openssl/lib/libcrypto: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
    src/crypto/external/bsd/openssl/lib/libcrypto/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssl/lib/libcrypto/Makefile
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/Makefile:1.4 src/crypto/external/bsd/openssl/lib/libcrypto/Makefile:1.5
--- src/crypto/external/bsd/openssl/lib/libcrypto/Makefile:1.4	Mon Jun  6 06:44:57 2011
+++ src/crypto/external/bsd/openssl/lib/libcrypto/Makefile	Tue Jun 21 02:19:30 2011
@@ -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

Reply via email to