[Erp5-report] r45161 kazuhiko - /erp5/trunk/buildout/software-profiles/pkgconfig.cfg
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 7 11:22:08 CEST 2011
Author: kazuhiko
Date: Thu Apr 7 11:22:07 2011
New Revision: 45161
URL: http://svn.erp5.org?rev=45161&view=rev
Log:
build pkg-config twice so that second configure can use pkg-config to compute GLIB_CFLAGS and GLIB_LIBS.
Modified:
erp5/trunk/buildout/software-profiles/pkgconfig.cfg
Modified: erp5/trunk/buildout/software-profiles/pkgconfig.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/pkgconfig.cfg?rev=45161&r1=45160&r2=45161&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/pkgconfig.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/pkgconfig.cfg [utf8] Thu Apr 7 11:22:07 2011
@@ -13,10 +13,17 @@ extends =
recipe = hexagonit.recipe.cmmi
url = http://pkgconfig.freedesktop.org/releases/pkg-config-0.25.tar.gz
md5sum = a3270bab3f4b69b7dc6dbdacbcae9745
+location = ${buildout:parts-directory}/${:_buildout_section_name_}
+# build pkg-config twice so that second configure can use pkg-config
+# to compute GLIB_CFLAGS and GLIB_LIBS.
+configure-command =
+ ./configure --prefix=${:location} --with-installed-glib --with-installed-popt && make && make install && ./configure
configure-options =
+ --prefix=${:location}
--with-installed-glib
--with-installed-popt
environment =
+ PATH=${:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig
CPPFLAGS=-I${glib:location}/include -I${popt:location}/include
LDFLAGS=-L${gettext:location}/lib -Wl,-rpath -Wl,${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath -Wl,${glib:location}/lib -L${popt:location}/lib -Wl,-rpath -Wl,${popt:location}/lib
More information about the Erp5-report
mailing list