Skip to content

Commit

Permalink
app-arch/unar: Fix dependencies and make warning
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hannob committed Nov 8, 2016
1 parent de33e9f commit c43dd34
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions app-arch/unar/unar-1.10.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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)" \
Expand Down

0 comments on commit c43dd34

Please sign in to comment.