From: "Alex Alexander (wired)" <wired@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: qt4-build.eclass
Date: Thu, 10 Mar 2011 23:45:52 +0000 (UTC) [thread overview]
Message-ID: <20110310234552.1416A20054@flycatcher.gentoo.org> (raw)
wired 11/03/10 23:45:52
Modified: qt4-build.eclass
Log:
moved makefile generation from compile to configure phase.
Revision Changes Path
1.90 eclass/qt4-build.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-build.eclass?rev=1.90&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-build.eclass?rev=1.90&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-build.eclass?r1=1.89&r2=1.90
Index: qt4-build.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- qt4-build.eclass 3 Mar 2011 21:39:29 -0000 1.89
+++ qt4-build.eclass 10 Mar 2011 23:45:51 -0000 1.90
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.89 2011/03/03 21:39:29 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.90 2011/03/10 23:45:51 wired Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -340,6 +340,8 @@
echo ./configure ${myconf}
./configure ${myconf} || die "./configure failed"
myconf=""
+
+ prepare_directories ${QT4_TARGET_DIRECTORIES}
}
# @FUNCTION: qt4-build_src_compile
@@ -493,19 +495,32 @@
echo "${myconf}"
}
-# @FUNCTION: build_directories
+# @FUNCTION: prepare_directories
# @USAGE: < directories >
# @DESCRIPTION:
-# Compiles the code in $QT4_TARGET_DIRECTORIES
-build_directories() {
+# Generates makefiles for the directories set in $QT4_TARGET_DIRECTORIES
+prepare_directories() {
for x in "$@"; do
pushd "${S}"/${x} >/dev/null
+ einfo "running qmake in: $x"
# avoid running over the maximum argument number, bug #299810
{
echo "${S}"/mkspecs/common/*.conf
find "${S}" -name '*.pr[io]'
} | xargs sed -i -e "s:\$\$\[QT_INSTALL_LIBS\]:${EPREFIX}/usr/$(get_libdir)/qt4:g" || die
"${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" || die "qmake failed"
+ popd >/dev/null
+ done
+}
+
+
+# @FUNCTION: build_directories
+# @USAGE: < directories >
+# @DESCRIPTION:
+# Compiles the code in $QT4_TARGET_DIRECTORIES
+build_directories() {
+ for x in "$@"; do
+ pushd "${S}"/${x} >/dev/null
emake CC="$(tc-getCC)" \
CXX="$(tc-getCXX)" \
LINK="$(tc-getCXX)" || die "emake failed"
next reply other threads:[~2011-03-10 23:46 UTC|newest]
Thread overview: 98+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-10 23:45 Alex Alexander (wired) [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-11-17 1:31 [gentoo-commits] gentoo-x86 commit in eclass: qt4-build.eclass Davide Pesavento (pesa)
2014-08-29 23:56 Davide Pesavento (pesa)
2012-02-28 18:53 Davide Pesavento (pesa)
2012-01-01 18:12 Davide Pesavento (pesa)
2011-12-27 16:04 Davide Pesavento (pesa)
2011-12-26 11:59 Davide Pesavento (pesa)
2011-12-21 23:38 Davide Pesavento (pesa)
2011-11-02 18:01 Jeroen Roovers (jer)
2011-10-30 14:21 Markos Chandras (hwoarang)
2011-10-16 9:59 Markos Chandras (hwoarang)
2011-08-13 11:31 Markos Chandras (hwoarang)
2011-03-03 21:39 Alex Alexander (wired)
2011-01-20 23:08 Dror Levin (spatz)
2010-11-13 20:50 Alex Alexander (wired)
2010-11-13 20:30 Alex Alexander (wired)
2010-11-10 13:45 Alex Alexander (wired)
2010-10-13 19:33 Raul Porcel (armin76)
2010-09-05 9:25 Markos Chandras (hwoarang)
2010-08-14 18:09 Markos Chandras (hwoarang)
2010-08-13 16:36 Markos Chandras (hwoarang)
2010-08-08 11:34 Raul Porcel (armin76)
2010-07-11 10:32 Markos Chandras (hwoarang)
2010-07-08 15:45 Markos Chandras (hwoarang)
2010-07-03 15:49 Dominik Kapusta (ayoy)
2010-07-03 9:10 Markos Chandras (hwoarang)
2010-05-30 10:31 Dror Levin (spatz)
2010-05-27 21:27 Dror Levin (spatz)
2010-05-26 15:17 Markos Chandras (hwoarang)
2010-05-25 13:39 Dror Levin (spatz)
2010-05-24 22:03 Dror Levin (spatz)
2010-05-24 14:27 Alex Alexander (wired)
2010-05-22 19:23 Alex Alexander (wired)
2010-05-22 15:22 Alex Alexander (wired)
2010-03-24 14:36 Ben de Groot (yngwin)
2010-02-17 23:32 Alex Alexander (wired)
2010-02-15 16:34 Dror Levin (spatz)
2010-02-10 20:34 Ben de Groot (yngwin)
2010-01-21 5:57 Mike Frysinger (vapier)
2010-01-17 20:28 Jonathan Callen (abcd)
2010-01-13 19:35 Jonathan Callen (abcd)
2009-12-25 15:27 Jonathan Callen (abcd)
2009-12-25 8:19 Fabian Groffen (grobian)
2009-12-24 21:40 Jonathan Callen (abcd)
2009-12-22 17:04 Jonathan Callen (abcd)
2009-12-22 16:04 Jonathan Callen (abcd)
2009-12-06 9:34 Markos Chandras (hwoarang)
2009-11-19 12:01 Ioannis Aslanidis (deathwing00)
2009-11-18 22:12 Alex Alexander (wired)
2009-11-09 19:35 Dominik Kapusta (ayoy)
2009-11-09 19:30 Dominik Kapusta (ayoy)
2009-10-16 15:02 Alex Alexander (wired)
2009-10-03 19:29 Dominik Kapusta (ayoy)
2009-10-02 16:39 Alex Alexander (wired)
2009-10-02 15:04 Dominik Kapusta (ayoy)
2009-08-11 14:44 Markos Chandras (hwoarang)
2009-07-31 22:18 Thomas Sachau (tommy)
2009-07-13 19:55 Markos Chandras (hwoarang)
2009-06-28 15:24 Markos Chandras (hwoarang)
2009-06-27 18:55 Ben de Groot (yngwin)
2009-06-27 12:37 Ben de Groot (yngwin)
2009-06-06 22:43 Markos Chandras (hwoarang)
2009-05-29 20:58 Markos Chandras (hwoarang)
2009-05-29 14:48 Markos Chandras (hwoarang)
2009-05-23 1:08 Markos Chandras (hwoarang)
2009-05-12 14:21 Markos Chandras (hwoarang)
2009-04-23 11:45 Markos Chandras (hwoarang)
2009-03-28 2:29 Gordon Malm (gengor)
2009-03-28 0:33 Gordon Malm (gengor)
2009-03-28 0:21 Gordon Malm (gengor)
2009-03-16 8:21 Alexis Ballier (aballier)
2009-03-11 23:58 Diego Petteno (flameeyes)
2009-03-05 9:25 Markos Chandras (hwoarang)
2009-03-04 20:37 Ben de Groot (yngwin)
2009-02-15 0:11 Markos Chandras (hwoarang)
2009-02-14 23:47 Markos Chandras (hwoarang)
2009-02-14 22:48 Markos Chandras (hwoarang)
2009-02-14 22:25 Markos Chandras (hwoarang)
2009-02-11 21:14 Ben de Groot (yngwin)
2009-01-29 18:45 Alexis Ballier (aballier)
2009-01-21 8:55 Gordon Malm (gengor)
2009-01-12 23:47 Ben de Groot (yngwin)
2008-09-18 22:07 Ben de Groot (yngwin)
2008-08-11 12:52 Ben de Groot (yngwin)
2008-05-26 14:30 Ingmar Vanhassel (ingmar)
2008-05-15 12:33 Ingmar Vanhassel (ingmar)
2008-04-14 21:51 Ingmar Vanhassel (ingmar)
2008-04-10 14:23 Ingmar Vanhassel (ingmar)
2008-03-11 16:39 Ingmar Vanhassel (ingmar)
2008-03-06 14:44 Bo Oersted Andresen (zlin)
2008-03-06 1:23 Ingmar Vanhassel (ingmar)
2008-03-05 23:06 Ingmar Vanhassel (ingmar)
2007-12-23 20:48 Caleb Tennis (caleb)
2007-12-22 17:32 Caleb Tennis (caleb)
2007-12-22 16:29 Caleb Tennis (caleb)
2007-12-21 21:44 Caleb Tennis (caleb)
2007-12-21 21:10 Caleb Tennis (caleb)
2007-12-21 16:11 Caleb Tennis (caleb)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110310234552.1416A20054@flycatcher.gentoo.org \
--to=wired@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox