swt-gtk.inc: Properly give OE's LDFLAGS to makefile.
authorRobert Schuster <robertschuster@fsfe.org>
Mon, 8 Feb 2010 10:37:10 +0000 (11:37 +0100)
committerRobert Schuster <robertschuster@fsfe.org>
Mon, 8 Feb 2010 10:39:18 +0000 (11:39 +0100)
swt3.3-gtk: Increased PR.
swt3.3-gtk-hildon: Dito.
swt3.4-gtk: Dito.
swt3.4-gtk-hildon: Dito.

recipes/swt/swt-gtk.inc
recipes/swt/swt3.3-gtk_3.3.1.bb
recipes/swt/swt3.4-gtk-hildon_3.4.2.bb
recipes/swt/swt3.4-gtk-hildon_3.4.bb
recipes/swt/swt3.4-gtk_3.4.2.bb
recipes/swt/swt3.4-gtk_3.4.bb

index eed628a..1c26a39 100644 (file)
@@ -22,8 +22,12 @@ do_unpackpost() {
   unzip -o ../src.zip
   cp ../Makefile .
 
+  # Sets version numbers for native libraries.
   sed -i -e "s|RELEASE=OE_SWT_RELEASE|RELEASE=${PV}|" Makefile
   sed -i -e "s|SONAME_VERSION=OE_SWT_API_VERSION|SONAME_VERSION=${SWT_API_VERSION}|" Makefile
+
+  # Properly applies OE's LDFLAGS to linking step.
+  sed -i -e "s|LIBS = -shared -fPIC|LIBS = -shared ${LDFLAGS}|" make_linux.mak
 }
 
 do_compile() {
index 82860ed..f6624b3 100644 (file)
@@ -1,6 +1,6 @@
 require swt-gtk.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/R-${PV}-200710231652/swt-${PV}-gtk-linux-x86.zip \
            file://Makefile"
index 667e516..d834a58 100644 (file)
@@ -1,6 +1,6 @@
 require swt3.4-gtk_${PV}.bb
 
-PR = "r0"
+PR = "r1"
 
 DEPENDS += "libhildon libhildonfm"
 
index d834a58..ffccd5a 100644 (file)
@@ -1,6 +1,6 @@
 require swt3.4-gtk_${PV}.bb
 
-PR = "r1"
+PR = "r2"
 
 DEPENDS += "libhildon libhildonfm"
 
index f4b6a85..cac3677 100644 (file)
@@ -1,6 +1,6 @@
 require swt-gtk.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://ftp.wh2.tu-dresden.de/pub/mirrors/eclipse/eclipse/downloads/drops/R-3.4.2-200902111700/swt-3.4.2-gtk-linux-x86.zip \
            file://Makefile"
index b6eafca..c7a534b 100644 (file)
@@ -1,6 +1,6 @@
 require swt-gtk.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://ftp.wh2.tu-dresden.de/pub/mirrors/eclipse/eclipse/downloads/drops/R-3.4-200806172000/swt-3.4-gtk-linux-x86.zip \
            file://Makefile"