libc-client: fix build error by quoting CC
authorJeremy Laine <jeremy.laine@m4x.org>
Wed, 19 Mar 2008 13:37:52 +0000 (13:37 +0000)
committerJeremy Laine <jeremy.laine@m4x.org>
Wed, 19 Mar 2008 13:37:52 +0000 (13:37 +0000)
packages/libc-client/files/.mtn2git_empty [new file with mode: 0644]
packages/libc-client/files/quote_cctype.patch [new file with mode: 0644]
packages/libc-client/libc-client_2007.bb

diff --git a/packages/libc-client/files/.mtn2git_empty b/packages/libc-client/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/libc-client/files/quote_cctype.patch b/packages/libc-client/files/quote_cctype.patch
new file mode 100644 (file)
index 0000000..f729ee2
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN imap-2007.orig/Makefile imap-2007/Makefile
+--- imap-2007.orig/Makefile    2007-12-20 23:11:10.000000000 +0100
++++ imap-2007/Makefile 2008-03-19 14:08:47.000000000 +0100
+@@ -690,7 +690,7 @@
+       @$(SH) -c '(test $(BUILDTYPE) = rebuild -o $(BUILDTYPE) = `$(CAT) OSTYPE`) || (echo Already built for `$(CAT) OSTYPE` -- you must do \"make clean\" first && exit 1)'
+       @echo Rebuilding c-client for `$(CAT) OSTYPE`...
+       @$(TOUCH) SPECIALS
+-      $(CD) c-client;$(MAKE) all CC=`$(CAT) CCTYPE` \
++      $(CD) c-client;$(MAKE) all CC="`$(CAT) CCTYPE`" \
+        CFLAGS="`$(CAT) CFLAGS`" `$(CAT) SPECIALS`
+ rebuildclean:
index 87035af..cdfeca0 100644 (file)
@@ -3,8 +3,10 @@ SECTION = "devel"
 PRIORITY = "optional"
 LICENSE = "University of Washington's Free-Fork License"
 DEPENDS = "libpam openssl"
+PR = "r1"
 
-SRC_URI = "ftp://ftp.cac.washington.edu/imap/c-client.tar.Z"
+SRC_URI = "ftp://ftp.cac.washington.edu/imap/c-client.tar.Z \
+          file://quote_cctype.patch;patch=1"
 
 S = "${WORKDIR}/imap-2007"