- solve curl.
authorRonan Le Martret <ronan@fridu.net>
Thu, 6 Jun 2013 15:07:17 +0000 (17:07 +0200)
committerRonan Le Martret <ronan@fridu.net>
Thu, 6 Jun 2013 15:07:17 +0000 (17:07 +0200)
meta-tizen-ivi/recipes-packagegroups/packagegroups/packagegroup-tizen-commonwayland-core.bb
meta-tizen-ivi/recipes-tizen/curl/curl-extraconf.inc
meta-tizen-ivi/recipes-tizen/curl/curl/curl.spec.patch [new file with mode: 0644]

index da028fb..89ce9d7 100644 (file)
@@ -98,8 +98,8 @@ RDEPENDS_${PN} += "iniparser"
 
 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"
index e69de29..a5b7365 100644 (file)
@@ -0,0 +1,10 @@
+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
diff --git a/meta-tizen-ivi/recipes-tizen/curl/curl/curl.spec.patch b/meta-tizen-ivi/recipes-tizen/curl/curl/curl.spec.patch
new file mode 100644 (file)
index 0000000..da43047
--- /dev/null
@@ -0,0 +1,17 @@
+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}