diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2013-12-02 14:10:19 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2013-12-02 14:10:19 +0000 |
commit | 5d41ed2a92e37b720ee3bb4c8ee42a5317fed087 (patch) | |
tree | b4c844f7e9b13073aadef003ae4cb0d83404b1ff | |
parent | 41a13cbaa323e38f9755df1a8c8760f5a878bd4a (diff) | |
download | openssl-new-5d41ed2a92e37b720ee3bb4c8ee42a5317fed087.tar.gz |
Update chunk morphology make it able to build openssl in ppc64
-rw-r--r-- | openssl-new.morph | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openssl-new.morph b/openssl-new.morph index 2911d20fdb..d92bba165d 100644 --- a/openssl-new.morph +++ b/openssl-new.morph @@ -3,7 +3,12 @@ kind: chunk max-jobs: 1 configure-commands: - sed -i -e 's,^LIBNAMES=\\(.*\\) padlock \\(.*\\),LIBNAMES=\\1 \\2,g' engines/Makefile -- ./config --openssldir=/etc/ssl --prefix="${PREFIX-/usr}" --libdir=lib shared +- > + if [ "$(uname -m)" = "ppc64" ]; then + sh ./Configure linux-ppc64 --openssldir=/etc/ssl --prefix="${PREFIX-/usr}" --libdir=lib shared + else + ./config --openssldir=/etc/ssl --prefix="${PREFIX-/usr}" --libdir=lib shared + fi build-commands: - make install-commands: |