Module Name:    src
Committed By:   joerg
Date:           Sun Jan 24 19:16:05 UTC 2010

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

Log Message:
Make VERSION work with newer OpenSSL.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    src/crypto/external/bsd/openssl/lib/libcrypto/man/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/man/Makefile
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile:1.2
--- src/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile:1.1	Sun Jul 19 23:30:50 2009
+++ src/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile	Sun Jan 24 19:16:05 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2009/07/19 23:30:50 christos Exp $
+#	$NetBSD: Makefile,v 1.2 2010/01/24 19:16:05 joerg Exp $
 
 # the makefile is not, and should not be visited during normal build process.
 # try to use latest pod2man, which comes with the latest perl.
@@ -9,7 +9,7 @@
 CRYPTODIST=	${NETBSDSRCDIR}/crypto
 .include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
 
-VERSION!=	grep VERSION ${OPENSSLSRC}/Makefile | head -1 | sed -e 's/VERSION=//'
+VERSION!=	head -2 ${OPENSSLSRC}/README | tail -1 | awk '{ print $$2; }'
 
 manpages:
 	for i in ${OPENSSLSRC}/doc/apps/*.pod; do \

Reply via email to