games-puzzle/brainparty: default to gentoo's CXX

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2021-02-11 08:31:07 +00:00
parent e31a773aa5
commit ac3d36cd69

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
inherit eutils toolchain-funcs
DESCRIPTION="A puzzle-solving, brain-stretching game for all ages"
HOMEPAGE="http://www.tuxradar.com/brainparty"
@@ -42,6 +42,8 @@ src_prepare() {
sed -i \
"/^int main(/ a\\\\tchdir(\"/usr/share/${PN}\");\n" \
main.cpp || die
tc-export CXX
}
src_install() {