dev-lua/lua-cyrussasl: fix library linkage

This commit is contained in:
nemunaire 2019-05-02 09:26:16 +02:00
parent 643d69def1
commit 864e5a662e
2 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,3 @@
DIST v1.1.0.zip 18240 BLAKE2B e19aa5be5b728ea68ca90fd0351040aa8414849d2049e954583764e94714815627821f503dec34ef1ae5f3b75db194dac8823f2d92a00724061b7fe1c26f3e81 SHA512 f544c55580e2e892dff934dba7cb95854a23af2ff6233874db8c8eca2a2fd422c6a56c1d58a557215716c16d726c0ea552a856fd6564f9c7347b02561ac5538f
EBUILD lua-cyrussasl-1.1.0.ebuild 776 BLAKE2B 2ef91b9d32ecec5d683b94c9a148c4b79af667041f850dc8b96ea2e1543bf1033b2123214cd761a3709d25ad0ae65d9dfd1822946ff28fee697fc8197bcc3e2e SHA512 f28232744492d5b4c16d2ba831208764d6a494840060935727cc4b6e4c58011bf49863ef237ab2be2a5441f1e754634d55df02a84e9cf06d3dba8d489038c4b7
EBUILD lua-cyrussasl-1.1.0.ebuild 836 BLAKE2B c182c08a05e3514cd561711827385238db1e3f895067bae2c65a0226c7440633e1977aad594c909e7aa4d5e92b17bb6f40e89c18a0694bb77ba838c867e1f2cf SHA512 65792a1cf1a395b96311eb6db9f41abfe3d634b3930268f62b504c8a52981cb95ecc9ddabdd4229ec00a5e2c14dd4d503b0169b80faed5cc0ae76b0742e51c1d
MISC metadata.xml 258 BLAKE2B 56a930f47b1b24a142aa53c18ff04027c0d01a123c41953c1138c773d8aac67e9a193787bbd980fd2d16482f04e99365bd8538550dd3df3d1959935a7cc378e5 SHA512 bae5e9eb659f7355c95800c2231976b3f91dd6a1c9215d8c5865f3e710109c9442477d374a4e70f70ac73f52fd8ce357dfa937f7b7aababaeaea310677dc143d

View File

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -23,6 +23,9 @@ src_prepare() {
sed -i '/CFLAGS=/d;/LDFLAGS=/d;/LUAPATH=/d;/CPATH=/d' Makefile \
|| die "Unable to remove bad variables overwrite."
sed -i '/$(LDFLAGS)/s/$/ $(LIBS)/' Makefile \
|| die "Unable do required subtitution."
append-cflags -fpic
append-ldflags -O -shared -fpic
append-libs -lsasl2 -llua
@ -30,10 +33,6 @@ src_prepare() {
default
}
src_compile() {
default
}
src_install() {
export CPATH=${D}/usr/lib/lua/5.1
mkdir -p ${CPATH}