| Submitter | Saul Wold |
|---|---|
| Date | March 14, 2012, 8:33 a.m. |
| Message ID | <947982d54b42df85d30c9a7b5e67a0c0a16bb949.1331713807.git.sgw@linux.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/23257/ |
| State | New |
| Headers | show |
Comments
On Wed, 2012-03-14 at 01:33 -0700, Saul Wold wrote: > Signed-off-by: Saul Wold <sgw@linux.intel.com> > --- > meta/recipes-support/gpgme/gpgme_1.3.1.bb | 6 +++++- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/meta/recipes-support/gpgme/gpgme_1.3.1.bb b/meta/recipes-support/gpgme/gpgme_1.3.1.bb > index 9ffedba..33858bf 100644 > --- a/meta/recipes-support/gpgme/gpgme_1.3.1.bb > +++ b/meta/recipes-support/gpgme/gpgme_1.3.1.bb > @@ -14,7 +14,7 @@ SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.bz2 \ > SRC_URI[md5sum] = "90afa8436ce2b2683c001c824bd22601" > SRC_URI[sha256sum] = "15ef27a875ae0d79d7446fd931deda11438e724ffbeac74449ed19cba23df4d4" > DEPENDS = "libgpg-error libassuan pth" > -PR = "r0" > +PR = "r1" > > EXTRA_OECONF = "--with-pth=${STAGING_DIR_HOST} --without-pth-test \ > --with-gpg=${bindir}/gpg --without-gpgsm" > @@ -26,3 +26,7 @@ FILES_${PN}-pth = "${libdir}/libgpgme-pth.so.*" > FILES_${PN}-pthread = "${libdir}/libgpgme-pthread.so.*" > FILES_${PN} = "${libdir}/libgpgme.so.*" > FILES_${PN}-dev += "${bindir}/gpgme-config ${datadir}/common-lisp/source/gpgme/*" > + > +do_install_append() { > + rm -rf ${D}/usr/libexec > +} Since this is an empty directory, could you just do a rmdir here please? The reason is that if the package then does start installing files there, we'd hit a build failure. Cheers, Richard
Patch
diff --git a/meta/recipes-support/gpgme/gpgme_1.3.1.bb b/meta/recipes-support/gpgme/gpgme_1.3.1.bb index 9ffedba..33858bf 100644 --- a/meta/recipes-support/gpgme/gpgme_1.3.1.bb +++ b/meta/recipes-support/gpgme/gpgme_1.3.1.bb @@ -14,7 +14,7 @@ SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.bz2 \ SRC_URI[md5sum] = "90afa8436ce2b2683c001c824bd22601" SRC_URI[sha256sum] = "15ef27a875ae0d79d7446fd931deda11438e724ffbeac74449ed19cba23df4d4" DEPENDS = "libgpg-error libassuan pth" -PR = "r0" +PR = "r1" EXTRA_OECONF = "--with-pth=${STAGING_DIR_HOST} --without-pth-test \ --with-gpg=${bindir}/gpg --without-gpgsm" @@ -26,3 +26,7 @@ FILES_${PN}-pth = "${libdir}/libgpgme-pth.so.*" FILES_${PN}-pthread = "${libdir}/libgpgme-pthread.so.*" FILES_${PN} = "${libdir}/libgpgme.so.*" FILES_${PN}-dev += "${bindir}/gpgme-config ${datadir}/common-lisp/source/gpgme/*" + +do_install_append() { + rm -rf ${D}/usr/libexec +}
Signed-off-by: Saul Wold <sgw@linux.intel.com> --- meta/recipes-support/gpgme/gpgme_1.3.1.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)