summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2020-01-15 19:56:37 +0100
committerSven Wegener <swegener@gentoo.org>2020-01-15 20:51:03 +0100
commit21ca6662d3fe3a95c8209a78645be1c00489d24d (patch)
treecc0ea80dbf6a21b061ac4d3b45547ee1572cd413 /sys-apps/flashrom
parentsys-apps/flashrom: Sync IUSE_PROGRAMMERS (+stlinkv3-spi) (diff)
downloadgentoo-21ca6662d3fe3a95c8209a78645be1c00489d24d.tar.gz
gentoo-21ca6662d3fe3a95c8209a78645be1c00489d24d.tar.bz2
gentoo-21ca6662d3fe3a95c8209a78645be1c00489d24d.zip
sys-apps/flashrom: Ignore ni845x-spi (windows-only)
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'sys-apps/flashrom')
-rw-r--r--sys-apps/flashrom/flashrom-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/flashrom/flashrom-9999.ebuild b/sys-apps/flashrom/flashrom-9999.ebuild
index 522aa85a253e..1edc15288959 100644
--- a/sys-apps/flashrom/flashrom-9999.ebuild
+++ b/sys-apps/flashrom/flashrom-9999.ebuild
@@ -109,7 +109,8 @@ src_compile() {
grep -o 'CONFIG_[A-Z0-9_]*' flashrom.c | \
sort -u | \
sed 's:^CONFIG_::' | \
- tr '[:upper:]_' '[:lower:]-'))
+ tr '[:upper:]_' '[:lower:]-' | \
+ grep -v ni845x-spi))
local eprogs=$(echo ${IUSE_PROGRAMMERS} | sed -E 's/\B[-+]\b//g')
if [[ ${sprogs} != "${eprogs}" ]] ; then
eerror "The ebuild needs to be kept in sync."