mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-04 04:57:07 -08:00
dev-cpp/antlr-cpp: clear QA warnings.
Closes: https://bugs.gentoo.org/663892 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -15,3 +15,13 @@ KEYWORDS="~amd64 ~x86"
|
||||
DEPEND="app-arch/zip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \
|
||||
"${S}"/runtime/CMakeLists.txt || die "failed sed"
|
||||
|
||||
sed -i -e "s#share/doc/libantlr4#share/doc/${P}#g" \
|
||||
"${S}"/CMakeLists.txt || die "failed sed"
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user