summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-02-16 05:58:07 +0000
committerZac Medico <zmedico@gentoo.org>2013-02-16 05:58:07 +0000
commit107b2a5619ce416f7c40b0cb4308a234f88322e1 (patch)
tree432dbc74aa46cf2c95f405f30f2032d67dda66d0
parentold (diff)
downloadgentoo-2-107b2a5619ce416f7c40b0cb4308a234f88322e1.tar.gz
gentoo-2-107b2a5619ce416f7c40b0cb4308a234f88322e1.tar.bz2
gentoo-2-107b2a5619ce416f7c40b0cb4308a234f88322e1.zip
Fix for prefix and add ~x86-linux keyword.
(Portage version: 2.2.0_alpha163/cvs/Linux i686, signed Manifest commit with key 0xFDE8EF85AE5719A3)
-rw-r--r--x11-wm/openbox/ChangeLog5
-rw-r--r--x11-wm/openbox/openbox-3.5.0_p20130215.ebuild12
2 files changed, 10 insertions, 7 deletions
diff --git a/x11-wm/openbox/ChangeLog b/x11-wm/openbox/ChangeLog
index c2a740f1ef2e..f590e42a3dff 100644
--- a/x11-wm/openbox/ChangeLog
+++ b/x11-wm/openbox/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-wm/openbox
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/ChangeLog,v 1.265 2013/02/15 22:22:10 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/ChangeLog,v 1.266 2013/02/16 05:58:07 zmedico Exp $
+
+ 16 Feb 2013; Zac Medico <zmedico@gentoo.org> openbox-3.5.0_p20130215.ebuild:
+ Fix for prefix and add ~x86-linux keyword.
*openbox-3.5.0_p20130215 (15 Feb 2013)
diff --git a/x11-wm/openbox/openbox-3.5.0_p20130215.ebuild b/x11-wm/openbox/openbox-3.5.0_p20130215.ebuild
index eb70ee3a066b..fa43cbc8be96 100644
--- a/x11-wm/openbox/openbox-3.5.0_p20130215.ebuild
+++ b/x11-wm/openbox/openbox-3.5.0_p20130215.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/openbox-3.5.0_p20130215.ebuild,v 1.1 2013/02/15 22:22:10 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/openbox-3.5.0_p20130215.ebuild,v 1.2 2013/02/16 05:58:07 zmedico Exp $
EAPI="4"
inherit multilib autotools python eutils
@@ -12,7 +12,7 @@ branding? ( http://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )"
LICENSE="GPL-2"
SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-linux"
IUSE="branding debug imlib nls python session startup-notification static-libs"
RDEPEND="dev-libs/glib:2
@@ -48,7 +48,7 @@ src_prepare() {
src_configure() {
econf \
- --docdir=/usr/share/doc/${PF} \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
--disable-silent-rules \
$(use_enable debug) \
$(use_enable imlib imlib2) \
@@ -61,7 +61,7 @@ src_configure() {
src_install() {
dodir /etc/X11/Sessions
- echo "/usr/bin/openbox-session" > "${D}/etc/X11/Sessions/${PN}"
+ echo "/usr/bin/openbox-session" > "${ED}/etc/X11/Sessions/${PN}"
fperms a+x /etc/X11/Sessions/${PN}
emake DESTDIR="${D}" install
if use branding; then
@@ -73,6 +73,6 @@ src_install() {
"${D}"/etc/xdg/openbox/rc.xml \
|| die "failed to set Surreal Gentoo as the default theme"
fi
- ! use static-libs && rm "${D}"/usr/$(get_libdir)/lib{obt,obrender}.la
- ! use python && rm "${D}"/usr/libexec/openbox-xdg-autostart
+ ! use static-libs && rm "${ED}"/usr/$(get_libdir)/lib{obt,obrender}.la
+ ! use python && rm "${ED}"/usr/libexec/openbox-xdg-autostart
}