From fc06a7cc36df412b4437ea21747ccb77070ff1d3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 5 Feb 2013 09:54:32 +0100 Subject: [PATCH] openssl: make this cross buildable. --- srcpkgs/openssl/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/openssl/template b/srcpkgs/openssl/template index 231b907ede..52f14ae247 100644 --- a/srcpkgs/openssl/template +++ b/srcpkgs/openssl/template @@ -4,6 +4,7 @@ _openssl_version=1.0.1 version=${_openssl_version}c revision=1 fulldepends="perl" +crossmakedepends="zlib-devel" conf_files="/etc/ssl/openssl.cnf" subpackages="libssl openssl-devel" short_desc="Secure Socket Layer and cryptographic library - runtime utilities" @@ -30,12 +31,14 @@ do_configure() { _opts="enable-ec_nistp_64_gcc_128" elif [ "${XBPS_MACHINE}" = "i686" ]; then _target="linux-elf" + elif [ "${XBPS_MACHINE}" = "armv6l" ]; then + _target="linux-armv4" fi ./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \ shared zlib enable-md2 threads ${_opts} \ ${_target} -Wa,--noexecstack \ - "${CFLAGS}" "${LDFLAGS}" -DOPENSSL_NO_TLS1_2_CLIENT + "${CFLAGS}" -DOPENSSL_NO_TLS1_2_CLIENT } do_build() {