Skip to content

Commit

Permalink
app-i18n/canfep: respect CXXFLAGS
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/734236
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Akinori Hattori <[email protected]>
  • Loading branch information
hattya committed Aug 20, 2020
1 parent 1b029c4 commit c76d8f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app-i18n/canfep/canfep-1.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="6"
Expand Down Expand Up @@ -36,6 +36,7 @@ src_prepare() {
src_compile() {
emake \
CC="$(tc-getCXX)" \
CFLAGS="${CXXFLAGS}" \
LIBS="-lcanna $($(tc-getPKG_CONFIG) --libs ncurses)"
}

Expand Down
3 changes: 2 additions & 1 deletion app-i18n/canfep/canfep-1.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="6"
Expand Down Expand Up @@ -30,6 +30,7 @@ src_prepare() {
src_compile() {
emake \
CC="$(tc-getCXX)" \
CFLAGS="${CXXFLAGS}" \
LIBS="-lcanna $(pkg-config --libs ncurses)"
}

Expand Down

0 comments on commit c76d8f2

Please sign in to comment.