summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-06-24 16:07:46 +0000
committerKoen Kooi <koen@openembedded.org>2007-06-24 16:07:46 +0000
commit1892110085d188bf9873ac1974695636ceeb517d (patch)
tree313dc3a86ff45a43c1fadc587e9112f88b8c0999
parent2f140e0b63b0f75f1aaddfd665a91c6a69ef9133 (diff)
libpcap: fix shared.patch and add a comment about it inside the recipe
-rw-r--r--packages/libpcap/libpcap-0.9.6/shared.patch2
-rw-r--r--packages/libpcap/libpcap_0.9.6.bb4
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/libpcap/libpcap-0.9.6/shared.patch b/packages/libpcap/libpcap-0.9.6/shared.patch
index d8118cf142..159389bb87 100644
--- a/packages/libpcap/libpcap-0.9.6/shared.patch
+++ b/packages/libpcap/libpcap-0.9.6/shared.patch
@@ -11,7 +11,7 @@
+# some defines for shared library compilation - FIXME, if not matching
+MAJ=0.9
-+MIN=5
++MIN=6
+VERSION=$(MAJ).$(MIN)
+LIBNAME=pcap
+LIBRARY=lib$(LIBNAME).a
diff --git a/packages/libpcap/libpcap_0.9.6.bb b/packages/libpcap/libpcap_0.9.6.bb
index d68cd31d52..9822f38ada 100644
--- a/packages/libpcap/libpcap_0.9.6.bb
+++ b/packages/libpcap/libpcap_0.9.6.bb
@@ -4,8 +4,10 @@ DESCRIPTION = "Network Packet Capture Library"
HOMEPAGE = "http://www.tcpdump.org/"
LICENSE = "BSD"
SECTION = "libs/network"
-PR = "r0"
+PR = "r1"
+
+# 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 \
file://shared.patch;patch=1"