RDEPENDS_${PN} += "libarchive"
RDEPENDS_${PN} += "libasound"
-#RDEPENDS_${PN} += "curl"
-#RDEPENDS_${PN} += "libcurl"
+RDEPENDS_${PN} += "curl"
+RDEPENDS_${PN} += "libcurl"
RDEPENDS_${PN} += "libcom_err"
RDEPENDS_${PN} += "libblkid"
RDEPENDS_${PN} += "libdmx"
+SRC_URI += "file://curl.spec.patch \
+ "
+
+do_patch_append () {
+ echo RLM begining of do_patch
+
+ cat ${WORKDIR}/curl.spec.patch | patch -s -p1 --fuzz=2
+
+ echo RLM end of do_patch
+}
\ No newline at end of file
--- /dev/null
+diff --git a/packaging/curl.spec b/packaging/curl.spec
+index b5388c8..12cc27c 100644
+--- a/packaging/curl.spec
++++ b/packaging/curl.spec
+@@ -72,9 +72,9 @@ export CPPFLAGS="$(pkg-config --cflags nss) -DHAVE_PK11_CREATEGENERICOBJECT"
+ sed -i -e 's,-L/usr/lib ,,g;s,-L/usr/lib64 ,,g;s,-L/usr/lib$,,g;s,-L/usr/lib64$,,g' \
+ Makefile libcurl.pc
+ # Remove bogus rpath
+-sed -i \
+--e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
+--e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
++#sed -i \
++#-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
++#-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+ make %{?_smp_mflags}
+