summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-07-07 11:15:20 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-07-09 10:54:27 +0300
commit72fec15f678067927e3684403f2e4f78836bbc0b (patch)
tree1ef5cf09070984d9ccd372a202a35dbd2a9e5b12
parentdev-lua/luasec: new maintainer (diff)
downloadgentoo-72fec15f678067927e3684403f2e4f78836bbc0b.tar.gz
gentoo-72fec15f678067927e3684403f2e4f78836bbc0b.tar.bz2
gentoo-72fec15f678067927e3684403f2e4f78836bbc0b.zip
dev-lua/luasec: Fix #730030
Fix compiling with clang/llvm toolchain. Closes: https://bugs.gentoo.org/730030 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--dev-lua/luasec/luasec-0.7.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-lua/luasec/luasec-0.7.ebuild b/dev-lua/luasec/luasec-0.7.ebuild
index d6ddcf8c569..4dc8f5927ae 100644
--- a/dev-lua/luasec/luasec-0.7.ebuild
+++ b/dev-lua/luasec/luasec-0.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -25,8 +25,8 @@ RDEPEND="
>=dev-lang/lua-5.1:0[deprecated]
dev-lua/luasocket
!libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
src_prepare() {
default
@@ -36,8 +36,7 @@ src_prepare() {
src_compile() {
emake \
- CC="$(tc-getCC)" \
- LD="$(tc-getCC)" \
+ CC="$(tc-getCC)" LD="$(tc-getCC)" LIB_PATH="" \
linux
}