From 570ee663793adfa5c3e11ef8415c352a16b40610 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 8 Mar 2016 20:44:47 +0100 Subject: [PATCH] lua51-luasec: fix cross --- srcpkgs/lua51-luasec/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/lua51-luasec/template b/srcpkgs/lua51-luasec/template index 1e3e79bbfd1..d31b7116d62 100644 --- a/srcpkgs/lua51-luasec/template +++ b/srcpkgs/lua51-luasec/template @@ -1,9 +1,10 @@ # Template file for 'lua51-luasec' pkgname=lua51-luasec version=0.5.1 -revision=1 +revision=2 wrksrc=${pkgname#*-}-${pkgname#*-}-${version} build_style=gnu-makefile +hostmakedepends="lua51" makedepends="lua51-devel libressl-devel" depends="lua51" short_desc="Lua binding for OpenSSL library to provide TLS/SSL communication" @@ -16,7 +17,7 @@ checksum=6d5c5f8e0521f3194668d9a839774e079e2fd5c45b15538dc7b8cacc56719406 replaces="luasec<=0.5.1_1" do_build() { - lua src/options.lua -g /usr/include/openssl/ssl.h > src/options.h + lua src/options.lua -g ${XBPS_CROSS_BASE}/usr/include/openssl/ssl.h > src/options.h make linux CC=$CC LD=$CC INC_PATH=-I${XBPS_CROSS_BASE}/usr/include LIB_PATH=-L${XBPS_CROSS_BASE}/usr/lib }