summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-arch/unrar/unrar-2.50.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/app-arch/unrar/unrar-2.50.ebuild b/app-arch/unrar/unrar-2.50.ebuild
index c4ef0d381d18..1a3c47eb66d0 100644
--- a/app-arch/unrar/unrar-2.50.ebuild
+++ b/app-arch/unrar/unrar-2.50.ebuild
@@ -16,12 +16,11 @@ src_compile() {
# Many many warnings... but seems to work okay
cd src
mv Makefile Makefile.orig
- sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile
+ sed -e "s:-O2:${CFLAGS}:" -e "s:-Wall::" Makefile.orig > Makefile
try make
}
-src_install() {
- cd ${S}
+src_install() {
dobin src/unrar
dodoc readme.txt license.txt
}