Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/qtopia4
Date: Tue, 28 Oct 2008 02:40:26 -0700 (PDT)	[thread overview]
Message-ID: <20081028094026.563A73C671@busybox.net> (raw)

Author: jacmet
Date: 2008-10-28 02:40:25 -0700 (Tue, 28 Oct 2008)
New Revision: 23827

Log:
qtopia4: fix use of pkg-config

When cross compiling, Qt sets PKG_CONFIG in its own configure script to
an empty string. That leads to not using pkg-config. To avoid that, use
the configure option -force-pkg-config. Also set environment variables
for pkg-config defined in TARGET_CONFIGURE_OPTS.

Patch by Markus Heidelberg.

See http://buildroot.uclibc.org/lists/buildroot/2008-October/011324.html
for more details.

Modified:
   trunk/buildroot/package/qtopia4/qtopia4.mk


Changeset:
Modified: trunk/buildroot/package/qtopia4/qtopia4.mk
===================================================================
--- trunk/buildroot/package/qtopia4/qtopia4.mk	2008-10-28 06:48:06 UTC (rev 23826)
+++ trunk/buildroot/package/qtopia4/qtopia4.mk	2008-10-28 09:40:25 UTC (rev 23827)
@@ -253,10 +253,15 @@
 	
 	-[ -f $(QTOPIA4_QCONFIG_FILE) ] && cp $(QTOPIA4_QCONFIG_FILE) \
 		$(QTOPIA4_TARGET_DIR)/$(QTOPIA4_QCONFIG_FILE_LOCATION)
+# Qt doesn't use PKG_CONFIG, it searches for pkg-config with 'which'.
+# PKG_CONFIG_SYSROOT is only used to avoid a warning from Qt's configure system
+# when cross compiling, Qt 4.4.3 is wrong here.
 	(cd $(QTOPIA4_TARGET_DIR); rm -rf config.cache; \
-		PATH=$(TARGET_PATH) \
+		$(TARGET_CONFIGURE_OPTS) \
+		PKG_CONFIG_SYSROOT="$(STAGING_DIR)" \
 		./configure \
 		-verbose \
+		-force-pkg-config \
 		-embedded $(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM) \
 		$(QTOPIA4_QCONFIG_COMMAND) \
 		$(QTOPIA4_CONFIGURE) \

             reply	other threads:[~2008-10-28  9:40 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28  9:40 jacmet at uclibc.org [this message]
2008-10-29 14:11 ` [Buildroot] svn commit: trunk/buildroot/package/qtopia4 Arnar Mar Sigurðsson
2008-10-29 15:21   ` Peter Korsgaard
2008-10-29 16:01     ` Thiago A. Corrêa
2008-10-29 16:36       ` Arnar Mar Sigurðsson
2008-10-29 18:02     ` Markus Heidelberg
  -- strict thread matches above, loose matches on Subject: below --
2009-03-05 15:35 jacmet at uclibc.org
2009-01-25 20:19 jacmet at uclibc.org
2008-12-08 18:00 egtvedt at uclibc.org
2008-12-04 16:50 egtvedt at uclibc.org
2008-12-01 13:06 egtvedt at uclibc.org
2008-12-01 13:08 ` Thomas Petazzoni
2008-12-01 13:12   ` Hans-Christian Egtvedt
2008-12-01 13:19     ` Thomas Petazzoni
2008-12-01 13:25       ` Hans-Christian Egtvedt
2008-12-01 13:39         ` Thomas Petazzoni
2008-12-01 13:43           ` Hans-Christian Egtvedt
2008-11-11 18:35 tpetazzoni at uclibc.org
2008-11-02  2:16 antab at uclibc.org
2008-11-02 14:14 ` Markus Heidelberg
2008-11-02 20:22   ` Peter Korsgaard
2008-10-31 17:17 antab at uclibc.org
2008-11-01 11:47 ` Markus Heidelberg
2008-11-01 13:46   ` Arnar Mar Sigurðsson
2008-11-01 17:42     ` Thiago A. Corrêa
2008-11-01 19:15     ` Markus Heidelberg
2008-11-02 20:19     ` Peter Korsgaard
2008-10-31  2:17 correa at uclibc.org
2008-10-29 20:40 jacmet at uclibc.org
2008-10-28  9:40 jacmet at uclibc.org
2008-10-26  6:03 jacmet at uclibc.org
2008-09-29 16:27 egtvedt at uclibc.org
2008-09-03  3:44 correa at uclibc.org
2008-09-03  1:09 correa at uclibc.org
2008-08-27 20:19 jacmet at uclibc.org
2008-06-28  3:55 correa at uclibc.org
2008-06-28  3:22 correa at uclibc.org
2008-05-21  5:52 ulf at uclibc.org
2008-05-21  5:48 ulf at uclibc.org
2008-05-11  6:45 ulf at uclibc.org
2008-04-25 11:45 ninevoltz at uclibc.org
2008-04-24 18:44 ninevoltz at uclibc.org
2008-04-24 19:04 ` Peter Korsgaard
2008-04-24 19:30   ` John Voltz
2008-04-24 19:47     ` Peter Korsgaard
2008-04-24 20:27       ` Thiago A. Corrêa
2008-04-25  7:23 ` Hans-Christian Egtvedt
2008-04-25 13:31   ` Thiago A. Corrêa
2008-04-25 13:45     ` Peter Korsgaard
2008-04-23 15:27 jacmet at uclibc.org
2008-03-12 13:53 ninevoltz at uclibc.org
2008-03-12 14:20 ` Peter Korsgaard
2008-03-12 15:18   ` Thomas Petazzoni
2008-03-12 18:26 ` Will Wagner
2008-03-13  6:25   ` Hans-Christian Egtvedt
2008-03-12 18:44 ` Will Wagner
2008-03-12 18:55   ` John Voltz
2008-03-13  6:26   ` Hans-Christian Egtvedt
2008-03-13 10:38     ` Will Wagner
2008-03-13 11:21       ` Hans-Christian Egtvedt
2008-03-13 11:27         ` Will Wagner
2008-03-06 18:22 ninevoltz at uclibc.org
2008-01-25 10:20 thomasez at uclibc.org
2007-12-18 15:12 vanokuten at uclibc.org
2007-09-26 10:23 ulf at uclibc.org
2007-09-26 11:07 ` Peter Korsgaard
2007-09-26 11:30   ` Ulf Samuelsson
2007-09-26 11:48     ` Peter Korsgaard
2007-09-26 18:27 ` rafael2k
2007-09-23 16:29 ulf at uclibc.org
2007-08-28 23:06 ulf at uclibc.org
2007-08-22 19:31 aldot at uclibc.org
2007-08-21  8:31 aldot at uclibc.org
2007-07-28 17:26 ulf at uclibc.org
2007-07-28 15:41 ulf at uclibc.org

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=20081028094026.563A73C671@busybox.net \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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