From 3d92a232be8dd61a8b9dfaa2d886a758604b13b3 Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
Date: Wed, 19 Sep 2018 22:58:14 +0200
Subject: [PATCH] libcec: don't default enable rpi option on armv{6,7}*

this breaks the build for all armv{6,7} machines that
aren't raspberry pis
---
 srcpkgs/libcec/template | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/srcpkgs/libcec/template b/srcpkgs/libcec/template
index f9fe406bb0..0bb19a3646 100644
--- a/srcpkgs/libcec/template
+++ b/srcpkgs/libcec/template
@@ -1,7 +1,7 @@
 # Template file for 'libcec'
 pkgname=libcec
 version=4.0.2
-revision=1
+revision=2
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=cmake
 hostmakedepends="pkg-config libtool swig"
@@ -15,9 +15,6 @@ distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.g
 checksum=b8b8dd31f3ebdd5472f03ab7d401600ea0d959b1288b9ca24bf457ef60e2ba27
 
 build_options="rpi"
-case "$XBPS_TARGET_MACHINE" in
-	armv[67]*) build_options_default="rpi";;
-esac
 
 if [ "$build_option_rpi" ]; then
 	configure_args+=" -DRPI_INCLUDE_DIR=${XBPS_CROSS_BASE}/opt/vc/include"