From 82aebe9c56a655b0793df189d8b9c19bcf674e11 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 10 Oct 2013 11:30:16 +0200 Subject: [PATCH] lua: do not overwrite lua CFLAGS/LDFLAGS. --- srcpkgs/lua/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/lua/template b/srcpkgs/lua/template index f04164f184a..172e64b7bba 100644 --- a/srcpkgs/lua/template +++ b/srcpkgs/lua/template @@ -1,7 +1,7 @@ # Template file for 'lua' pkgname=lua version=5.2.2 -revision=1 +revision=2 makedepends="ncurses-devel readline-devel" short_desc="Powerful, fast, lightweight, embeddable scripting language" maintainer="Juan RP " @@ -19,7 +19,8 @@ long_desc=" do_build() { sed "s/%VER%/${version%.*}/g;s/%REL%/$version/g" ${FILESDIR}/lua.pc > lua.pc - make CFLAGS="$CFLAGS -fPIC" CC="$CC" RANLIB="$RANLIB" \ + make MYCFLAGS="$CFLAGS -fPIC" MYLDFLAGS="$LDFLAGS" \ + CC="$CC" RANLIB="$RANLIB" \ INSTALL_DATA="cp -d" LUA_SO=liblua.so ${makejobs} linux }