commit:     6e6ccb3ddae3a06b3b6e9adb7248abbe9712f0e0
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 07:03:41 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue May  3 07:03:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e6ccb3d

net-im/profanity: fix use_with, delete .la files, respect CFLAGS

Closes: https://bugs.gentoo.org/842300
Closes: https://bugs.gentoo.org/842303
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 .../{profanity-0.12.1.ebuild => profanity-0.12.1-r1.ebuild}   | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/net-im/profanity/profanity-0.12.1.ebuild 
b/net-im/profanity/profanity-0.12.1-r1.ebuild
similarity index 88%
rename from net-im/profanity/profanity-0.12.1.ebuild
rename to net-im/profanity/profanity-0.12.1-r1.ebuild
index 17175e193d4e..4dbaba2f82a7 100644
--- a/net-im/profanity/profanity-0.12.1.ebuild
+++ b/net-im/profanity/profanity-0.12.1-r1.ebuild
@@ -54,5 +54,14 @@ src_configure() {
                $(use_enable omemo) \
                $(use_enable otr) \
                $(use_enable gpg pgp) \
-               $(with_enable xscreensaver)
+               $(use_with xscreensaver)
+}
+
+src_compile() {
+       emake CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+       default
+       find "${ED}" -type f -name '*.la' -delete || die
 }

Reply via email to