From 3eb6135d8958037b4e81c7ab034d9be2e5c20899 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Tue, 14 May 2013 11:59:37 +0100 Subject: openjade: Fix build if not installing libtool .la files The openjade build system is slightly funky and does strange things with library dependencies. Fix it up so that it depends on the .so rather than the .la (which may not exist) for libraries from the sysroot. (From OE-Core rev: dd6998ee068f0edf20139fee80fbbf6c1347649d) Signed-off-by: Phil Blundell Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../openjade/openjade-1.3.2/no-libtool.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/no-libtool.patch (limited to 'meta/recipes-devtools/openjade/openjade-1.3.2/no-libtool.patch') diff --git a/meta/recipes-devtools/openjade/openjade-1.3.2/no-libtool.patch b/meta/recipes-devtools/openjade/openjade-1.3.2/no-libtool.patch new file mode 100644 index 0000000000..2f57c000f6 --- /dev/null +++ b/meta/recipes-devtools/openjade/openjade-1.3.2/no-libtool.patch @@ -0,0 +1,20 @@ +The openjade build is fairly unique in auto-generating explicit dependencies to +installed .la files. As some distributions may delete these files unless +clearly required, change the Makefile fragment to depend on the .so instead. + +Patch originally by Phil Blundell . + +Signed-off-by: Ross Burton +Upstream-Status: Inappropriate + +--- openjade-1.3.2/Makefile.prog.in~ 2013-05-14 11:42:02.646782318 +0100 ++++ openjade-1.3.2/Makefile.prog.in 2013-05-14 11:54:55.051728343 +0100 +@@ -12,7 +12,7 @@ + + ALL_LIBS = $(XLIBS) $(LIBS) + Makefile.lt: +- echo 'LT_LIBS='`echo $(ALL_LIBS) | sed 's/\.a\s/\.la /g' | sed s/\.a$$/\.la/` > Makefile.lt ++ echo 'LT_LIBS='`for d in $(ALL_LIBS); do case $$d in ../*) echo $$d | sed s/\.a$$/.la/g ;; *) echo $$d | sed s/\.a$$/.so/g ;; esac ; done` >Makefile.lt + + PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@') + -- cgit v1.2.3-54-g00ecf