[pkg-opensc-commit] [opensc] 100/295: MacOSX: fix OpenSSL check in build-package.in

Eric Dorland eric at moszumanska.debian.org
Sat Jun 24 21:11:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository opensc.

commit 0f69949bbf5935c5b93fb1ba867c31a4a16ea029
Author: Ludovic Rousseau <ludovic.rousseau+github at gmail.com>
Date:   Fri Oct 14 14:02:21 2016 +0200

    MacOSX: fix OpenSSL check in build-package.in
    
    OpenSSL is configured to be installed in $PREFIX so the files should be
    checked in $BUILDPATH/openssl_bin/$PREFIX/lib/pkgconfig and not
    $BUILDPATH/openssl_bin/lib/pkgconfig
---
 MacOSX/build-package.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MacOSX/build-package.in b/MacOSX/build-package.in
index c207ad3..2a8daee 100755
--- a/MacOSX/build-package.in
+++ b/MacOSX/build-package.in
@@ -23,7 +23,7 @@ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig
 
 if ! pkg-config libcrypto --atleast-version=1.0.1; then
 	# OpenSSL is not installed
-	if ! test -e $BUILDPATH/openssl_bin/lib/pkgconfig; then
+	if ! test -e $BUILDPATH/openssl_bin/$PREFIX/lib/pkgconfig; then
 		# Build OpenSSL manually, because Apple's binaries are deprecated
 		if ! test -e openssl; then
 			git clone --depth=1 https://github.com/openssl/openssl.git -b OpenSSL_1_0_2-stable

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git



More information about the pkg-opensc-commit mailing list