pmacct 0.7.9: Don't look for pcap headers in /usr/include, look for them in
authorJamie Lenehan <lenehan@twibble.org>
Sat, 27 May 2006 10:36:20 +0000 (10:36 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 27 May 2006 10:36:20 +0000 (10:36 +0000)
the staging area. Closes bug #712.

packages/pmacct/pmacct_0.7.9.bb

index d557cae..375eadc 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Promiscuous mode IP Accounting package"
 HOMEPAGE = "http://www.ba.cnr.it/~paolo/pmacct/"
 LICENSE = "GPLv2"
 DEPENDS = "libpcap"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.ba.cnr.it/~paolo/pmacct/pmacct-${PV}.tar.gz \
        file://pmacct.init \
@@ -10,6 +10,9 @@ SRC_URI = "http://www.ba.cnr.it/~paolo/pmacct/pmacct-${PV}.tar.gz \
 
 inherit autotools
 
+# Without this it'll check for the headers in /usr/include
+EXTRA_OECONF = "--with-pcap-includes=${STAGING_INCDIR}"
+
 do_configure () {
        oe_runconf
 }