diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-06-30 13:32:23 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-10-23 20:08:50 +0200 |
commit | 3f3faddfceaeb948fbedeb6e9c17473bd320c500 (patch) | |
tree | 5b68ee606b70e95dff8e9e3b1115bed119142510 /packages/apt/files | |
parent | fc0453d3be0a6633c02055767d87160784de4b95 (diff) |
apt-native: remove db-native and curl-native dependencies (from Poky)
idea from:
http://excogito.wordpress.com/2008/06/30/hacks-to-reduce-pokylinux-build-time/
git-svn-id: https://svn.o-hand.com/repos/poky@4747 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'packages/apt/files')
-rw-r--r-- | packages/apt/files/no-curl.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/packages/apt/files/no-curl.patch b/packages/apt/files/no-curl.patch new file mode 100644 index 0000000000..4e07c8f2dc --- /dev/null +++ b/packages/apt/files/no-curl.patch @@ -0,0 +1,44 @@ +--- + configure.in | 6 ------ + methods/makefile | 7 ------- + 2 files changed, 13 deletions(-) + +--- apt-0.7.14.orig/configure.in ++++ apt-0.7.14/configure.in +@@ -84,16 +84,10 @@ AC_CHECK_HEADER(db.h, + )] + ) + + LIBS="$saveLIBS" + +-AC_CHECK_LIB(curl, curl_easy_init, +- [AC_CHECK_HEADER(curl/curl.h, +- curl_ok=yes, +- curl_ok=no)], +- AC_MSG_ERROR([failed: I need CURL due https support]), +-) + + AC_SUBST(BDBLIB) + + dnl Converts the ARCH to be something singular for this general CPU family + dnl This is often the dpkg architecture string. +--- apt-0.7.14.orig/methods/makefile ++++ apt-0.7.14/methods/makefile +@@ -50,17 +50,10 @@ PROGRAM=http + SLIBS = -lapt-pkg $(SOCKETLIBS) + LIB_MAKES = apt-pkg/makefile + SOURCE = http.cc rfc2553emu.cc connect.cc + include $(PROGRAM_H) + +-# The https method +-PROGRAM=https +-SLIBS = -lapt-pkg -lcurl +-LIB_MAKES = apt-pkg/makefile +-SOURCE = https.cc +-include $(PROGRAM_H) +- + # The ftp method + PROGRAM=ftp + SLIBS = -lapt-pkg $(SOCKETLIBS) + LIB_MAKES = apt-pkg/makefile + SOURCE = ftp.cc rfc2553emu.cc connect.cc |