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/man Make VERSION w...



details:   https://anonhg.NetBSD.org/src/rev/ab2109090fe0
branches:  trunk
changeset: 751098:ab2109090fe0
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Jan 24 19:16:05 2010 +0000

description:
Make VERSION work with newer OpenSSL.

diffstat:

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

diffs (18 lines):

diff -r a8e5f661679e -r ab2109090fe0 crypto/external/bsd/openssl/lib/libcrypto/man/Makefile
--- a/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile    Sun Jan 24 17:56:54 2010 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile    Sun Jan 24 19:16:05 2010 +0000
@@ -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 \



Home | Main Index | Thread Index | Old Index