summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/p7zip/p7zip-9.38.1.ebuild')
-rw-r--r--app-arch/p7zip/p7zip-9.38.1.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/app-arch/p7zip/p7zip-9.38.1.ebuild b/app-arch/p7zip/p7zip-9.38.1.ebuild
index 66df95434385..c3dfaa2ad039 100644
--- a/app-arch/p7zip/p7zip-9.38.1.ebuild
+++ b/app-arch/p7zip/p7zip-9.38.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-9.38.1.ebuild,v 1.1 2015/04/07 08:44:03 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-9.38.1.ebuild,v 1.2 2015/04/07 10:10:39 jlec Exp $
EAPI=5
@@ -42,7 +42,7 @@ src_prepare() {
-e "/^CXX=/s:g++:$(tc-getCXX):" \
-e "/^CC=/s:gcc:$(tc-getCC):" \
-e '/ALLFLAGS/s:-s ::' \
- -e "/OPTFLAGS=/s:=.*:=${CFLAGS}:" \
+ -e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
-i makefile* || die
# remove non-free RAR codec
@@ -113,11 +113,10 @@ src_install() {
make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
- make_desktop_entry 7zG "${PN} GUI" ${PN} "GTK;Utility;Archiving;Compression"
dobin GUI/p7zipForFilemanager
exeinto /usr/$(get_libdir)/${PN}
- doexe bin/7z{G,FM}
+ doexe bin/7zFM
insinto /usr/$(get_libdir)/${PN}
doins -r GUI/{Lang,help}