dev-lang/hare: Fix PREFIX and QA_FLAGS_IGNORED

Closes: https://bugs.gentoo.org/866473
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2022-09-28 00:28:03 +02:00
parent f967da3dc0
commit 7140548ab5
2 changed files with 8 additions and 8 deletions

View File

@@ -30,8 +30,8 @@ BDEPEND="
"
RDEPEND="${DEPEND}"
# hare and harec are built by hare
QA_FLAGS_IGNORED="usr/bin/harec?"
# hare and haredoc are built by hare
QA_FLAGS_IGNORED="usr/bin/hare usr/bin/haredoc"
src_configure() {
local target_arch
@@ -46,8 +46,8 @@ src_configure() {
sed -i \
-e 's;=aarch64-;=;' \
-e 's;=riscv64-;=;' \
-e "s;^ARCH =.*;ARCH=${target_arch};" \
-e 's;^PREFIX=.*;PREFIX=/usr;' \
-e "s;^ARCH =.*;ARCH = ${target_arch};" \
-e 's;^PREFIX =.*;PREFIX = /usr;' \
-e 's;^AS =;AS ?=;' \
-e 's;^LD =;LD ?=;' \
-e 's;^AR =;AR ?=;' \

View File

@@ -30,8 +30,8 @@ BDEPEND="
"
RDEPEND="${DEPEND}"
# hare and harec are built by hare
QA_FLAGS_IGNORED="usr/bin/harec?"
# hare and haredoc are built by hare
QA_FLAGS_IGNORED="usr/bin/hare usr/bin/haredoc"
src_configure() {
local target_arch
@@ -46,8 +46,8 @@ src_configure() {
sed -i \
-e 's;=aarch64-;=;' \
-e 's;=riscv64-;=;' \
-e "s;^ARCH =.*;ARCH=${target_arch};" \
-e 's;^PREFIX=.*;PREFIX=/usr;' \
-e "s;^ARCH =.*;ARCH = ${target_arch};" \
-e 's;^PREFIX =.*;PREFIX = /usr;' \
-e 's;^AS =;AS ?=;' \
-e 's;^LD =;LD ?=;' \
-e 's;^AR =;AR ?=;' \