From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/
Date: Sun, 27 Dec 2020 17:53:21 +0000 (UTC) [thread overview]
Message-ID: <1609091596.e350fb836f6e37b8acfcc62f42a8607ef233065d.sam@gentoo> (raw)
commit: e350fb836f6e37b8acfcc62f42a8607ef233065d
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sun Dec 27 17:02:37 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 17:53:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e350fb83
dev-libs/libucl: fix lua USE flag
remove calling lua_setup and co. when
not with USE lua
Closes: https://bugs.gentoo.org/761808
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/18837
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/libucl/libucl-0.8.1-r100.ebuild | 4 +++-
dev-libs/libucl/libucl-9999.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dev-libs/libucl/libucl-0.8.1-r100.ebuild b/dev-libs/libucl/libucl-0.8.1-r100.ebuild
index 66e66cd2dc8..d576b86cdf0 100644
--- a/dev-libs/libucl/libucl-0.8.1-r100.ebuild
+++ b/dev-libs/libucl/libucl-0.8.1-r100.ebuild
@@ -42,7 +42,7 @@ src_prepare() {
}
src_configure() {
- lua_setup
+ use lua && lua_setup
local myeconfargs=(
"$(use_enable lua)"
@@ -50,6 +50,8 @@ src_configure() {
"$(use_enable sign signatures)"
"$(use_enable urls)"
"$(use_enable utils)"
+ )
+ use lua && myeconfargs+=(
LUA_INCLUDE="$(lua_get_CFLAGS)"
LIB_LIBS="$(lua_get_LIBS)"
)
diff --git a/dev-libs/libucl/libucl-9999.ebuild b/dev-libs/libucl/libucl-9999.ebuild
index 66e66cd2dc8..d576b86cdf0 100644
--- a/dev-libs/libucl/libucl-9999.ebuild
+++ b/dev-libs/libucl/libucl-9999.ebuild
@@ -42,7 +42,7 @@ src_prepare() {
}
src_configure() {
- lua_setup
+ use lua && lua_setup
local myeconfargs=(
"$(use_enable lua)"
@@ -50,6 +50,8 @@ src_configure() {
"$(use_enable sign signatures)"
"$(use_enable urls)"
"$(use_enable utils)"
+ )
+ use lua && myeconfargs+=(
LUA_INCLUDE="$(lua_get_CFLAGS)"
LIB_LIBS="$(lua_get_LIBS)"
)
next reply other threads:[~2020-12-27 17:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-27 17:53 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-25 17:56 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libucl/ Arthur Zamarin
2024-02-23 18:52 Arthur Zamarin
2022-10-24 15:52 Sam James
2021-03-26 19:46 Conrad Kostecki
2020-10-02 6:43 Joonas Niilola
2020-06-15 2:29 Aaron Bauman
2020-06-06 2:00 Aaron Bauman
2017-05-06 15:21 Michael Orlitzky
2016-11-03 16:19 Göktürk Yüksek
2016-02-05 8:19 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1609091596.e350fb836f6e37b8acfcc62f42a8607ef233065d.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox