mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
app-arch/innoextract: Gather patches in PATCHES array.
Package-Manager: portage-2.2.26
This commit is contained in:
@@ -34,6 +34,11 @@ DEPEND="${RDEPEND}
|
||||
|
||||
DOCS=( README.md CHANGELOG )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-cmake.patch
|
||||
"${FILESDIR}"/${P}-cmake-3.5.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
# not sure about minimum clang req
|
||||
@@ -47,8 +52,7 @@ pkg_pretend() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-cmake.patch
|
||||
epatch "${FILESDIR}"/${P}-cmake-3.5.patch
|
||||
epatch "${PATCHES[@]}"
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
|
||||
@@ -23,8 +23,12 @@ DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( README.md CHANGELOG )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.4-cmake-3.5.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.4-cmake-3.5.patch
|
||||
epatch "${PATCHES[@]}"
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user