mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-db/pgagent: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
@@ -28,6 +28,8 @@ DEPEND="${RDEPEND}
|
||||
S="${WORKDIR}/${MY_PN}-${PV}-Source"
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
sed -e "s:share):share/${P}):" \
|
||||
-i CMakeLists.txt || die "Couldn't patch CMakeLists.txt"
|
||||
sed -i -e '/SET(WX_VERSION "2.8")/d' CMakeLists.txt || die
|
||||
|
||||
@@ -33,7 +33,8 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cmake-utils_src_prepare
|
||||
|
||||
sed -e "s:share):share/${P}):" \
|
||||
-i CMakeLists.txt || die "failed to patch CMakeLists.txt"
|
||||
sed -i -e '/SET(WX_VERSION "2.8")/d' CMakeLists.txt || die
|
||||
|
||||
Reference in New Issue
Block a user