diff options
author | Khem Raj <raj.khem@gmail.com> | 2008-12-10 12:08:42 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2008-12-10 12:08:42 -0800 |
commit | c83835dca4b2a8f8267066037c86a71474f278c2 (patch) | |
tree | b8645ff1fa623a7b8ce5496a62c2f2a01fd87887 /packages/libxml/libxml2-native.inc | |
parent | fca5cadc1e2012f01afcdd67d9482a4c52aa52d1 (diff) | |
parent | 1a184ff3d7b13923c4b7cd94866307ac8f399bed (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/libxml/libxml2-native.inc')
-rw-r--r-- | packages/libxml/libxml2-native.inc | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/packages/libxml/libxml2-native.inc b/packages/libxml/libxml2-native.inc index 5672792db3..603f48d196 100644 --- a/packages/libxml/libxml2-native.inc +++ b/packages/libxml/libxml2-native.inc @@ -6,18 +6,16 @@ PR = "r3" SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz" S = "${WORKDIR}/libxml2-${PV}" -inherit autotools native pkgconfig +inherit distutils-base autotools native pkgconfig -def libxml2_native_python_dir(d): - import os, bb - staging_incdir = bb.data.getVar( "STAGING_INCDIR", d, 1 ) - if os.path.exists( "%s/python2.5" % staging_incdir ): return "python2.5" - if os.path.exists( "%s/python2.4" % staging_incdir ): return "python2.4" - if os.path.exists( "%s/python2.3" % staging_incdir ): return "python2.3" - raise "No Python in STAGING_INCDIR. Forgot to build python-native ?" - -EXTRA_OECONF = "--with-python=${STAGING_INCDIR}/${@libxml2_native_python_dir(d)} \ - --without-debug --without-legacy --without-catalog --without-docbook --with-c14n" +EXTRA_OECONF = "\ + --with-python=${STAGING_INCDIR}/${PYTHON_MAJMIN} \ + --without-debug \ + --without-legacy \ + --without-catalog \ + --without-docbook \ + --with-c14n \ +" do_stage () { oe_runmake install |