summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-01-25 17:44:39 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-01-25 17:44:39 +0000
commit34e5e9e57eb1ace300f9ed9deaaa1825be57a620 (patch)
tree84ea39809e7ed32db075c42a4adbb79287741b1a /eclass
parentFix bug #499236 (diff)
downloadhistorical-34e5e9e57eb1ace300f9ed9deaaa1825be57a620.tar.gz
historical-34e5e9e57eb1ace300f9ed9deaaa1825be57a620.tar.bz2
historical-34e5e9e57eb1ace300f9ed9deaaa1825be57a620.zip
set --datarootdir=/usr/share wrt #493954
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/games.eclass9
2 files changed, 11 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 47eb1d9f6efb..d6124ece2a9c 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1131 2014/01/25 15:23:54 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1132 2014/01/25 17:44:39 hasufell Exp $
+
+ 25 Jan 2014; Julian Ospald <hasufell@gentoo.org> games.eclass:
+ set --datarootdir=/usr/share wrt #493954
25 Jan 2014; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-plugin-2.eclass:
major changes depend on wrt bug 497056, vdr-plugin-2.eclass
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 6a92d6f4d316..9119d2b8a81c 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.154 2013/04/08 07:36:25 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.155 2014/01/25 17:44:39 hasufell Exp $
# devlist: games@gentoo.org
#
@@ -47,6 +47,11 @@ egamesconf() {
fi
fi
+ # bug 493954
+ if grep -q -s datarootdir "${ECONF_SOURCE:-.}"/configure ; then
+ _gamesconf="${_gamesconf} --datarootdir=/usr/share"
+ fi
+
econf \
--prefix="${GAMES_PREFIX}" \
--libdir="$(games_get_libdir)" \