From: "Göktürk Yüksek" <gokturk@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/kakoune/
Date: Thu, 1 Sep 2016 03:20:55 +0000 (UTC) [thread overview]
Message-ID: <1472700023.109b6322000fb7f86247ed2b6c9f6e30d99ccfe9.gokturk@gentoo> (raw)
commit: 109b6322000fb7f86247ed2b6c9f6e30d99ccfe9
Author: Mykyta Holubakha <hilobakho <AT> gmail <DOT> com>
AuthorDate: Sat Aug 27 20:40:08 2016 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Sep 1 03:20:23 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=109b6322
app-editors/kakoune-9999: add GCC version check
correct usage of pkg-config
app-editors/kakoune/kakoune-9999.ebuild | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/app-editors/kakoune/kakoune-9999.ebuild b/app-editors/kakoune/kakoune-9999.ebuild
index aec9313..cee9215 100644
--- a/app-editors/kakoune/kakoune-9999.ebuild
+++ b/app-editors/kakoune/kakoune-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit flag-o-matic toolchain-funcs git-r3
+inherit flag-o-matic toolchain-funcs git-r3 versionator
DESCRIPTION="Selection-oriented code editor inspired by vim"
HOMEPAGE="https://github.com/mawww/kakoune"
@@ -17,7 +17,7 @@ IUSE="debug"
RDEPEND="
sys-libs/ncurses:=[unicode]
- dev-libs/boost
+ dev-libs/boost:=
"
DEPEND="
app-text/asciidoc
@@ -27,9 +27,17 @@ DEPEND="
PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if tc-is-gcc && ! version_is_at_least 5.0 $(gcc-version); then
+ die "Clang or GCC >=5.0 is required to build this version"
+ fi
+ fi
+}
+
src_configure() {
- append-cppflags $(pkg-config --cflags ncursesw)
- append-libs $(pkg-config --libs ncursesw)
+ append-cppflags $($(tc-getPKG_CONFIG) --cflags ncursesw)
+ append-libs $($(tc-getPKG_CONFIG) --libs ncursesw)
export CXX=$(tc-getCXX)
export debug=$(usex debug)
S="${WORKDIR}/${P}/src"
next reply other threads:[~2016-09-01 3:21 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-01 3:20 Göktürk Yüksek [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-24 6:29 [gentoo-commits] repo/gentoo:master commit in: app-editors/kakoune/ Joonas Niilola
2024-07-23 8:47 Joonas Niilola
2024-07-23 8:47 Joonas Niilola
2024-01-20 12:23 Sam James
2022-11-14 14:31 Joonas Niilola
2022-11-14 14:31 Joonas Niilola
2021-11-18 11:24 Joonas Niilola
2021-11-18 11:24 Joonas Niilola
2021-11-12 1:31 Sam James
2021-09-29 0:54 Ionen Wolkens
2021-09-29 0:54 Ionen Wolkens
2021-09-03 5:11 Joonas Niilola
2021-08-23 5:41 Joonas Niilola
2021-05-04 22:20 Sam James
2020-06-09 4:59 Joonas Niilola
2020-06-08 6:41 Michał Górny
2020-06-06 7:24 Joonas Niilola
2020-06-06 7:24 Joonas Niilola
2020-06-05 15:45 Mart Raudsepp
2020-06-05 15:45 Mart Raudsepp
2020-05-31 19:09 Sergei Trofimovich
2020-05-25 13:08 Joonas Niilola
2017-11-30 7:35 Patrick Lauer
2017-11-29 23:19 Andreas Sturmlechner
2017-11-29 23:19 Andreas Sturmlechner
2016-11-12 15:02 David Seifert
2016-11-12 15:02 David Seifert
2016-09-01 3:20 Göktürk Yüksek
2016-06-22 4:18 Göktürk Yüksek
2016-06-22 4:18 Göktürk Yüksek
2016-06-22 4:18 Göktürk Yüksek
2016-06-22 4:18 Göktürk Yüksek
2016-06-22 4:18 Göktürk Yüksek
2016-05-16 9:08 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=1472700023.109b6322000fb7f86247ed2b6c9f6e30d99ccfe9.gokturk@gentoo \
--to=gokturk@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