prismstumbler: bug #1679, fix inclusion of host headers and incorrect ranlib and...
authorCyril Romain <cyril.romain@gmail.com>
Wed, 21 Mar 2007 19:02:10 +0000 (19:02 +0000)
committerJustin Patrin <papercrane@gmail.com>
Wed, 21 Mar 2007 19:02:10 +0000 (19:02 +0000)
packages/prismstumbler/prismstumbler-0.7.3/fix-includes.patch [deleted file]
packages/prismstumbler/prismstumbler_0.7.3.bb

diff --git a/packages/prismstumbler/prismstumbler-0.7.3/fix-includes.patch b/packages/prismstumbler/prismstumbler-0.7.3/fix-includes.patch
deleted file mode 100644 (file)
index 9aef61e..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- prismstumbler-0.7.3/src/gpsd/Makefile.in~fix-includes
-+++ prismstumbler-0.7.3/src/gpsd/Makefile.in
-@@ -92,18 +92,6 @@
- COMPILE_AND_LINK.c = \
-     $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(LDFLAGS)
--## Where to look for X include files.  (-I/usr/X11R5/include)
--X_INCLUDE = @X_CFLAGS@
--
--## Where to look for include files.
--INCLUDE = -I. $(X_INCLUDE)
--
--## Implicit rules.
--.SUFFIXES: .c
--.c.o:
--      $(COMPILE.c) $(INCLUDE) -o $@ $<
--
--
- ## Libraries and object files
- LIB_OBJECTS = netlib.o nmea_parse.o serial.o tm.o em.o $(MOTIF_OBJECTS)
index 8699e56..bf38d10 100644 (file)
@@ -1,5 +1,5 @@
 SECTION = "x11/network"
-PR = "r4"
+PR = "r5"
 
 PACKAGES = "prismstumbler prismstumbler-frontend prismstumbler-doc"
 DESCRIPTION = "Prismstumbler wireless LAN scanner"
@@ -9,12 +9,18 @@ RDEPENDS = "wireless-tools"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/prismstumbler/${PN}-${PV}.tar.bz2 \
        file://bogoconf.patch;patch=1 \
-        file://fix-includes.patch;patch=1 \
+       file://crosscompile.patch;patch=1 \
         file://libz.patch;patch=1;pnum=0"
 
 inherit autotools pkgconfig
 
-EXTRA_OECONF = "--with-libpcap=${STAGING_DIR}/${HOST_SYS} --with-sqlite-libs=${STAGING_LIBDIR} --with-sqlite-includes=${STAGING_INCDIR}"
+EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
+               --x-libraries=${STAGING_LIBDIR} \
+               --with-libpcap=${STAGING_DIR}/${HOST_SYS} \
+               --with-sqlite-includes=${STAGING_INCDIR} \
+               --with-sqlite-libs=${STAGING_LIBDIR} \
+               --without-athena"
+
 CFLAGS =+ "-I${S}/include -D_GNU_SOURCE"
 
 FILES_${PN} = "${bindir}/prismstumbler"