From 36b9a8ea02608a946b82075324e91206ace574cd Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Tue, 3 May 2011 20:16:02 +0200 Subject: python-sip: catch up with upstream changes upstream did change a lot, and with the next major version of sip they will change everything again. Take care when updating this recipe. --- recipes/python/python-sip.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/python/python-sip.inc b/recipes/python/python-sip.inc index 99af450e1b..04ef450acc 100644 --- a/recipes/python/python-sip.inc +++ b/recipes/python/python-sip.inc @@ -24,13 +24,15 @@ EXTRA_QMAKEVARS_POST += " TEMPLATE=lib \ do_configure_prepend() { - cat siplib.sbf | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, > siplib.pro + cat siplib.sbf.in | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.pro + cat siplib.c.in | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.c + cat sip.h.in | sed -e s,@CFG_MODULE_NAME@,sip,g > sip.h } do_stage() { install -d ${STAGING_LIBDIR_NATIVE}/${PYTHON_DIR}/site-packages/ # sipconfig.py sipdistutils.py - install -m 0644 sip.h ${STAGING_INCDIR}/sip.h + install -m 0644 ../siplib/sip.h ${STAGING_INCDIR}/sip.h } do_install() { -- cgit 1.2.3-korg