--- /dev/null
+--- Libnet-1.0.2a/config.sub.orig 2005-11-10 11:24:50.238457174 -0800
++++ Libnet-1.0.2a/config.sub 2005-11-10 11:25:23.704563063 -0800
+@@ -68,7 +68,7 @@ esac
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+- linux-gnu*)
++ linux-gnu*|linux-uclibc)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;
handling, and injection."
SECTION = "libs/network"
LICENSE = "GPL"
+PR = "r1"
SRC_URI = "http://www.packetfactory.net/libnet/dist/deprecated/libnet-${PV}.tar.gz \
- file://configure.patch;patch=1"
+ file://configure.patch;patch=1 \
+ file://configure.uclibc.patch;patch=1 \
+ "
S = "${WORKDIR}/Libnet-${PV}"
inherit autotools
EXTRA_OEMAKE = "'LIB_PREFIX=${libdir}/' 'MAN_PREFIX=${mandir}/' \
'BIN_PREFIX=${bindir}/' 'INC_PREFIX=${includedir}/'"
-#FIXME:
+#FIXME: (fixing this would remove the need for configure.uclibc.patch above)
do_configure() {
oe_runconf
}