automoc4: use if/then/fi to fix strange errors
Packages depending on automoc4 would fail with: => ERROR: xbps-src: failed to read /void-packages/srcpkgs/automoc4/template! Using the common style if/then/fi seems to fix that.
This commit is contained in:
parent
c594a92111
commit
638350f37d
|
@ -12,4 +12,6 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
distfiles="http://download.kde.org/stable/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=234116f4c05ae21d828594d652b4c4a052ef75727e2d8a4f3a4fb605de9e4c49
|
||||
|
||||
[ -n "$CROSS_BUILD" ] && hostmakedepends+=" qt-qmake qt-host-tools"
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt-qmake qt-host-tools"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue