summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2017-11-20 01:48:44 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-11-30 00:19:20 +0100
commit62be9e67719c6dc4fc651edcb2b9486f69e86874 (patch)
treed6c7afda4ffa713ca1788d2c969698fa96070fe8 /app-editors
parentnet-news/rssguard: version bump to 3.5.5 (diff)
downloadgentoo-62be9e67719c6dc4fc651edcb2b9486f69e86874.tar.gz
gentoo-62be9e67719c6dc4fc651edcb2b9486f69e86874.tar.bz2
gentoo-62be9e67719c6dc4fc651edcb2b9486f69e86874.zip
app-editors/kakoune: update live ebuild
drop depend on dev-libs/boost Closes: https://github.com/gentoo/gentoo/pull/6244
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/kakoune/kakoune-9999.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/app-editors/kakoune/kakoune-9999.ebuild b/app-editors/kakoune/kakoune-9999.ebuild
index bd460c7c5746..f083c66b5e3e 100644
--- a/app-editors/kakoune/kakoune-9999.ebuild
+++ b/app-editors/kakoune/kakoune-9999.ebuild
@@ -16,7 +16,6 @@ IUSE="debug static"
RDEPEND="
sys-libs/ncurses:0=[unicode]
- dev-libs/boost:=
"
DEPEND="
app-text/asciidoc
@@ -24,8 +23,6 @@ DEPEND="
${RDEPEND}
"
-PATCHES=( "${FILESDIR}/${PN}-0_pre20170523-makefile.patch" )
-
pkg_setup() {
if [[ ${MERGE_TYPE} != binary ]]; then
if tc-is-gcc && ! version_is_at_least 5.0 $(gcc-version); then
@@ -34,9 +31,14 @@ pkg_setup() {
fi
}
+src_prepare() {
+ default
+
+ sed -i -e '/CXXFLAGS += -O3/d' src/Makefile || \
+ die "Failed to patch makefile"
+}
+
src_configure() {
- append-cppflags $($(tc-getPKG_CONFIG) --cflags ncursesw)
- append-libs $($(tc-getPKG_CONFIG) --libs ncursesw)
tc-export CXX
export debug=$(usex debug)
export static=$(usex static)