diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2013-12-02 14:10:19 +0000 |
---|---|---|
committer | Mark Doffman <mark.doffman@codethink.co.uk> | 2014-04-10 17:01:54 +0000 |
commit | fb6df176a58fae7e922f7f08f2fb2446280264af (patch) | |
tree | 5a66a0692131d127f4f4a99041ffb82f92473c7b | |
parent | 213d6b65cc1b2b8d7cb1f6ca1d2963be38e002c6 (diff) | |
download | openssl-new-fb6df176a58fae7e922f7f08f2fb2446280264af.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: |