public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/kakoune/
Date: Sat, 12 Nov 2016 15:02:34 +0000 (UTC)	[thread overview]
Message-ID: <1478962915.e8550bc4c91bd0a95a71979a00357910939d7021.soap@gentoo> (raw)

commit:     e8550bc4c91bd0a95a71979a00357910939d7021
Author:     Mykyta Holubakha <hilobakho <AT> gmail <DOT> com>
AuthorDate: Thu Nov 10 23:57:11 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 15:01:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8550bc4

app-editors/kakoune: update live ebuild

introduce static use flag
Closes: https://github.com/gentoo/gentoo/pull/2802

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 app-editors/kakoune/kakoune-9999.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/app-editors/kakoune/kakoune-9999.ebuild b/app-editors/kakoune/kakoune-9999.ebuild
index cee9215..4a1339b 100644
--- a/app-editors/kakoune/kakoune-9999.ebuild
+++ b/app-editors/kakoune/kakoune-9999.ebuild
@@ -13,10 +13,10 @@ EGIT_REPO_URI="https://github.com/mawww/kakoune.git"
 LICENSE="Unlicense"
 SLOT="0"
 KEYWORDS=""
-IUSE="debug"
+IUSE="debug static"
 
 RDEPEND="
-	sys-libs/ncurses:=[unicode]
+	sys-libs/ncurses:0=[unicode]
 	dev-libs/boost:=
 "
 DEPEND="
@@ -25,9 +25,9 @@ DEPEND="
 	${RDEPEND}
 "
 
-PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
+PATCHES=( "${FILESDIR}/${PN}-0_pre20161111-makefile.patch" )
 
-pkg_pretend() {
+pkg_setup() {
 	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"
@@ -38,11 +38,11 @@ pkg_pretend() {
 src_configure() {
 	append-cppflags $($(tc-getPKG_CONFIG) --cflags ncursesw)
 	append-libs $($(tc-getPKG_CONFIG) --libs ncursesw)
-	export CXX=$(tc-getCXX)
+	tc-export CXX
 	export debug=$(usex debug)
-	S="${WORKDIR}/${P}/src"
+	export static=$(usex static)
 }
 
 src_install() {
-	emake DESTDIR="${D}" PREFIX="/usr" docdir="${D}/usr/share/doc/${PF}" install
+	emake -C src DESTDIR="${D}" PREFIX="${EPREFIX}/usr" docdir="${ED%/}/usr/share/doc/${PF}" install
 }


             reply	other threads:[~2016-11-12 15:02 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-12 15:02 David Seifert [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-09-01  3:20 Göktürk Yüksek
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=1478962915.e8550bc4c91bd0a95a71979a00357910939d7021.soap@gentoo \
    --to=soap@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