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 print only the version as the fu...



details:   https://anonhg.NetBSD.org/src/rev/ece7e1022e88
branches:  trunk
changeset: 784221:ece7e1022e88
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 22 13:51:45 2013 +0000

description:
print only the version as the full version confuses pkgconfig.

diffstat:

 crypto/external/bsd/openssl/mkpc |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 67667acccdc1 -r ece7e1022e88 crypto/external/bsd/openssl/mkpc
--- a/crypto/external/bsd/openssl/mkpc  Tue Jan 22 13:27:59 2013 +0000
+++ b/crypto/external/bsd/openssl/mkpc  Tue Jan 22 13:51:45 2013 +0000
@@ -1,9 +1,9 @@
 #!/bin/sh
-#      $NetBSD: mkpc,v 1.1 2013/01/18 17:56:11 christos Exp $
+#      $NetBSD: mkpc,v 1.2 2013/01/22 13:51:45 christos Exp $
 
 getversion() {
        (echo '#include <openssl/opensslv.h>'; echo OPENSSL_VERSION_TEXT) |
-           cpp | grep OpenSSL | tr -d \"
+           cpp | grep OpenSSL | cut -d ' ' -f 2
 }
 VERSION="$(getversion)"
 
@@ -32,7 +32,7 @@
 esac
 
 cat << EOF > "$1"
-# \$NetBSD: mkpc,v 1.1 2013/01/18 17:56:11 christos Exp $
+# \$NetBSD: mkpc,v 1.2 2013/01/22 13:51:45 christos Exp $
 prefix=/usr
 exec_prefix=/usr
 libdir=/usr/lib



Home | Main Index | Thread Index | Old Index