Module Name:    src
Committed By:   christos
Date:           Tue Jan 22 13:51:46 UTC 2013

Modified Files:
        src/crypto/external/bsd/openssl: mkpc

Log Message:
print only the version as the full version confuses pkgconfig.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/crypto/external/bsd/openssl/mkpc

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/mkpc
diff -u src/crypto/external/bsd/openssl/mkpc:1.1 src/crypto/external/bsd/openssl/mkpc:1.2
--- src/crypto/external/bsd/openssl/mkpc:1.1	Fri Jan 18 12:56:11 2013
+++ src/crypto/external/bsd/openssl/mkpc	Tue Jan 22 08:51:45 2013
@@ -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 @@ openssl.pc)
 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

Reply via email to