obexftp needed same autotools-love because it depends on libiconv
authorHenning Heinold <heinold@inf.fu-berlin.de>
Fri, 6 Jul 2007 16:21:19 +0000 (16:21 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Fri, 6 Jul 2007 16:21:19 +0000 (16:21 +0000)
when compiling with uclibc.
iconv.patch
fix the Makefile.am so it uses libiconv in linker stage
obexftp_0.20.bb
bump PR
make depends on libiconv

packages/obexftp/files/iconv.patch [new file with mode: 0644]
packages/obexftp/obexftp_0.20.bb

diff --git a/packages/obexftp/files/iconv.patch b/packages/obexftp/files/iconv.patch
new file mode 100644 (file)
index 0000000..83b01a0
--- /dev/null
@@ -0,0 +1,24 @@
+--- obexftp-0.20/obexftp/Makefile.am   2007-06-27 20:33:20.000000000 +0200
++++ obexftp-0.20/obexftp/Makefile.am   2007-06-27 20:35:05.000000000 +0200
+@@ -4,12 +4,6 @@
+                               -I$(top_srcdir) \
+                               -I$(top_srcdir)/includes
+-LDADD =                         @OPENOBEX_LIBS@
+-#                             @BLUETOOTH_LIBS@ \
+-#                             @USB_LIBS@ \
+-#                             ../multicobex/libmulticobex.la \
+-#                             ../bfb/libbfb.la
+-
+ obexftpincludedir =           $(includedir)/obexftp
+ libobexftp_la_SOURCES =               object.c object.h \
+@@ -23,6 +17,8 @@
+                               uuid.h \
+                               object.h
+       
++libobexftp_la_LIBADD =          @OPENOBEX_LIBS@ @LIBICONV@
++
+ libobexftp_la_LDFLAGS =               -version-info $(OBEXFTP_VERSION)
+ EXTRA_DIST =                  client.i
index 23e360b..4920ae9 100644 (file)
@@ -2,11 +2,12 @@ DESCRIPTION = "OBEX Ftp Client based on openobex."
 SECTION = "console/network"
 HOMEPAGE = "http://openobex.triq.net"
 LICENSE = "GPL"
-DEPENDS = "openobex libgsm"
-PR = "r2"
+DEPENDS = "openobex libgsm libiconv"
+PR = "r3"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/openobex/obexftp-${PV}.tar.gz \
-           file://i-hate-libtool.patch;patch=1 \
+          file://iconv.patch;patch=1 \
+          file://i-hate-libtool.patch;patch=1 \
           file://m4.patch;patch=1"
 
 inherit autotools