From 56dd8bdbbc47f66a345de0aea78525172ebc665b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 14 Jan 2021 19:17:29 +0700 Subject: [PATCH] kakoune: use project's cxxflags Not sure if it should warrant a rebuild but this package is cheap to be built. --- srcpkgs/kakoune/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/kakoune/template b/srcpkgs/kakoune/template index 934795a45f6..4f308a8c698 100644 --- a/srcpkgs/kakoune/template +++ b/srcpkgs/kakoune/template @@ -2,11 +2,12 @@ pkgname=kakoune reverts=20180409_1 version=2020.09.01 -revision=1 +revision=2 build_wrksrc="src" build_style=gnu-makefile -make_build_args="debug=no" -make_install_args="debug=no" +make_build_args="debug=no gzip_man=no" +make_install_args="debug=no gzip_man=no" +make_use_env=yes hostmakedepends="pkg-config" makedepends="ncurses-devel" short_desc="Selection-based vim-like editor with less keystrokes" @@ -15,3 +16,7 @@ license="Unlicense" homepage="https://kakoune.org" distfiles="https://github.com/mawww/kakoune/releases/download/v${version}/kakoune-${version}.tar.bz2" checksum=861a89c56b5d0ae39628cb706c37a8b55bc289bfbe3c72466ad0e2757ccf0175 + +post_patch() { + vsed -i -e 's/-O3//' Makefile +}