app-arch/unar: Fix dependencies and make warning
authorHanno <hanno@gentoo.org>
Tue, 8 Nov 2016 10:33:45 +0000 (11:33 +0100)
committerHanno <hanno@gentoo.org>
Tue, 8 Nov 2016 10:33:45 +0000 (11:33 +0100)
Add missing dependencies found by depcheck (zlib, bzip2),
move gnustep-make from RDEPEND to DEPEND.
Avoid jobserver warning by removing direct make call
from Makefile.

Package-Manager: portage-2.3.2

app-arch/unar/unar-1.10.1.ebuild

index e79d2b143d40104fed070edf8bcac41404184558..51d2a84fc7797a1d0a6cd539abd79552e4742f1f 100644 (file)
@@ -16,13 +16,21 @@ KEYWORDS="amd64"
 IUSE=""
 
 RDEPEND="gnustep-base/gnustep-base
-       >=gnustep-base/gnustep-make-2.6.0[native-exceptions]
-       dev-libs/icu:="
+       dev-libs/icu:=
+       sys-libs/zlib
+       app-arch/bzip2"
 DEPEND="${RDEPEND}
+       >=gnustep-base/gnustep-make-2.6.0[native-exceptions]
        sys-devel/gcc[objc]"
 
 S="${WORKDIR}/The Unarchiver/XADMaster"
 
+src_prepare() {
+       # avoid jobserver warning, upstream bug:
+       # https://bitbucket.org/WAHa_06x36/theunarchiver/issues/918/dont-call-make-from-makefile
+       sed -i -e 's:make:$(MAKE):g' Makefile.linux
+}
+
 src_compile() {
        emake -f Makefile.linux \
                AR="$(tc-getAR)" \