]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/btscanner/btscanner-1.0/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / btscanner / btscanner-1.0 / configure.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- btscanner-1.0/configure.in~configure.patch  2003-10-14 13:01:20.000000000 +0200
7 +++ btscanner-1.0/configure.in  2004-07-16 11:55:24.000000000 +0200
8 @@ -10,9 +10,8 @@
9  AC_PROG_CC
10  
11  # Checks for libraries.
12 -AC_HAVE_LIBRARY(curses,,[AC_MSG_ERROR([Curses not found])])
13 +AC_HAVE_LIBRARY(ncurses,,[AC_MSG_ERROR([Curses not found])])
14  AC_HAVE_LIBRARY(bluetooth,,[AC_MSG_ERROR([Bluetooth not found])])
15 -AC_HAVE_LIBRARY(sdp,,[AC_MSG_ERROR([SDP not found])])
16  AC_HAVE_LIBRARY(pthread,,[AC_MSG_ERROR([Pthreads not found])])
17  AC_HAVE_LIBRARY(gdbm,,[AC_MSG_ERROR([GDBM not found])])
18  
19 --- btscanner-1.0/Makefile.in~configure.patch   2003-10-14 14:16:23.000000000 +0200
20 +++ btscanner-1.0/Makefile.in   2004-07-16 11:54:45.000000000 +0200
21 @@ -6,9 +6,12 @@
22  CP             =       cp
23  MV             =       mv
24  RM             =       rm
25 +INSTALL                =       install
26  GZIP   =       gzip
27  MKDIR  =       mkdir
28  
29 +DESTDIR = 
30 +
31  all:   $(EXECS)
32  
33  btscanner.o:   btscanner.c btscanner.h
34 @@ -34,7 +37,7 @@
35         $(CC) $(CFLAGS) -c $*.c
36  
37  install:       all
38 -       $(MKDIR) -p @prefix@/bin
39 -       $(CP) $(EXECS) @prefix@/bin/
40 -       $(MKDIR) -p @prefix@/etc
41 -       $(CP) oui.txt @prefix@/etc/oui.txt
42 +       $(INSTALL) -d $(DESTDIR)/@prefix@/bin
43 +       $(INSTALL) -m 0755 $(EXECS) $(DESTDIR)/@prefix@/bin/
44 +       $(INSTALL) -d $(DESTDIR)/@prefix@/etc
45 +       $(INSTALL) -m 0444 oui.txt $(DESTDIR)/@prefix@/etc/oui.txt