From 1524bbe8e43caeff2a9f994eff78582b3f74ac1b Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Mon, 27 Nov 2017 14:47:24 +0000 Subject: [PATCH] playonlinux: don't error when setting broken= --- srcpkgs/playonlinux/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/playonlinux/template b/srcpkgs/playonlinux/template index 1acee89a1fe..a12ee699b6e 100644 --- a/srcpkgs/playonlinux/template +++ b/srcpkgs/playonlinux/template @@ -12,7 +12,10 @@ license="GPL-3" homepage="http://www.playonlinux.com" distfiles="http://www.playonlinux.com/script_files/PlayOnLinux/${version/.0/}/PlayOnLinux_${version/.0/}.tar.gz" checksum=38cbdc85cca83b72ed0e54ee3a768f939fefe29d3670fc5d76b0303b5bda680e -[ "${CROSS_BUILD}" ] && broken="Dependency wxPython can't be cross compiled" + +if [ -n "${CROSS_BUILD}" ]; then + broken="Dependency wxPython can't be cross compiled" +fi do_install() { vmkdir usr/share/$pkgname