From: Michael Lauer Date: Mon, 29 Mar 2004 19:53:33 +0000 (+0000) Subject: Work around the libpng python do_package_prepend failure. X-Git-Tag: Release-2010-05/1~19829 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05d47a7fea7e175182968be8ee7abc86519c5a7c;p=openembedded.git Work around the libpng python do_package_prepend failure. BKrev: 40687ebdei5In0Ujrri6tswdbGxNTg --- diff --git a/libpng/libpng_1.2.5.oe b/libpng/libpng_1.2.5.oe index e76d8e63b9..c241718d7c 100644 --- a/libpng/libpng_1.2.5.oe +++ b/libpng/libpng_1.2.5.oe @@ -31,7 +31,7 @@ do_stage() { ln -sf ./libpng12.so ${STAGING_LIBDIR}/libpng.so } -do_install () { +do_install() { install -d ${D}/${bindir} ${D}/${mandir} \ ${D}/${libdir} ${D}/${includedir} unset LDFLAGS @@ -41,7 +41,8 @@ do_install () { install } -python do_package_prepend() { - if oe.data.getVar('DEBIAN_NAMES', d, 1): - oe.data.setVar('PKG_${PN}', 'libpng12', d) +python do_package() { + if oe.data.getVar('DEBIAN_NAMES', d, 1): + oe.data.setVar('PKG_${PN}', 'libpng12', d) + oe.build.exec_func('package_do_package', d) }