[oe-commits] Denis 'GNUtoo' Carikli : libpcap.inc : fix staging of libpcap.m4
git version control
git at git.openembedded.org
Mon Mar 29 19:08:23 UTC 2010
Module: openembedded.git
Branch: shr/unstable
Commit: 2fc69ae0d59af07977253a03a4b45e332a7f0cc1
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2fc69ae0d59af07977253a03a4b45e332a7f0cc1
Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date: Mon Mar 29 10:40:13 2010 +0200
libpcap.inc : fix staging of libpcap.m4
Without that fix it fails like this:
| oe_libinstall: cd ${WORKDIR}/armv6-angstrom-linux-gnueabi/libpcap-1.0.0-r6/libpcap-1.0.0
| install: cannot create regular file `${WORKDIR}/armv6-angstrom-linux-gnueabi/libpcap-1.0.0-r6/image/usr/share/aclocal/libpcap.m4': No such file or directory
NOTE: Task failed: ${WORKDIR}/armv6-angstrom-linux-gnueabi/libpcap-1.0.0-r6/temp/log.do_install.32266
---
recipes/libpcap/libpcap.inc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes/libpcap/libpcap.inc b/recipes/libpcap/libpcap.inc
index c075bbf..140a8a0 100644
--- a/recipes/libpcap/libpcap.inc
+++ b/recipes/libpcap/libpcap.inc
@@ -4,7 +4,7 @@ SECTION = "libs/network"
LICENSE = "BSD"
DEPENDS = "bluez-libs flex-native bison-native"
-PR = "r2"
+PR = "r3"
# Don't forget to edit shared.patch to have the correct version number inside
SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz \
@@ -26,6 +26,7 @@ do_configure_prepend () {
do_install_append () {
install -d ${D}${includedir}/net
+ install -d ${D}${datadir}/aclocal
ln -sf ../pcap-bpf.h ${D}${includedir}/net/bpf.h
install -m 0644 acinclude.m4 ${D}${datadir}/aclocal/libpcap.m4
}
More information about the Openembedded-commits
mailing list